Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001612, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002085/0.002085, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.3161/0.3161, allocations: 46.89 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 79.88 kB / 0.4967 GB, free: 8.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3386, allocations: 65.97 MB / 0.5612 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002299/0.3409, allocations: 1.737 MB / 0.5629 GB, free: 33.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001254/0.341, allocations: 73.89 kB / 0.5629 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.3411, allocations: 0 / 0.5629 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.126e-05/0.3411, allocations: 22.44 kB / 0.563 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.3412, allocations: 26.25 kB / 0.563 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.306e-05/0.3413, allocations: 22.16 kB / 0.563 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.798e-05/0.3414, allocations: 101.6 kB / 0.5631 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.3415, allocations: 45.59 kB / 0.5631 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.255e-05/0.3415, allocations: 43.31 kB / 0.5632 GB, free: 33.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.3416, allocations: 51.72 kB / 0.5632 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3416, allocations: 9.312 kB / 0.5632 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.3416, allocations: 9.281 kB / 0.5632 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.3417, allocations: 22.41 kB / 0.5633 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.3417, allocations: 53.09 kB / 0.5633 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.3418, allocations: 122.7 kB / 0.5634 GB, free: 32.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3418, allocations: 0.5 kB / 0.5634 GB, free: 32.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3418, allocations: 1.969 kB / 0.5634 GB, free: 32.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.3418, allocations: 0 / 0.5634 GB, free: 32.95 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003863/0.3422, allocations: 404.5 kB / 0.5638 GB, free: 32.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3423, allocations: 10.75 kB / 0.5638 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.3423, allocations: 16.12 kB / 0.5639 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.3424, allocations: 174.9 kB / 0.564 GB, free: 32.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.3424, allocations: 9.891 kB / 0.564 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3424, allocations: 8.344 kB / 0.564 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.3426, allocations: 132 kB / 0.5642 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3426, allocations: 7.094 kB / 0.5642 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3426, allocations: 7.938 kB / 0.5642 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3426, allocations: 2.719 kB / 0.5642 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.298e-05/0.3427, allocations: 65.39 kB / 0.5642 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005797/0.3433, allocations: 0.7204 MB / 0.5649 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/0.3433, allocations: 173.5 kB / 0.5651 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.3434, allocations: 81.11 kB / 0.5652 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3434, allocations: 75.28 kB / 0.5653 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.3434, allocations: 116.6 kB / 0.5654 GB, free: 31.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3434, allocations: 0 / 0.5654 GB, free: 31.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.994e-05/0.3435, allocations: 28.77 kB / 0.5654 GB, free: 31.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.3435, allocations: 129.8 kB / 0.5655 GB, free: 30.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.792e-05/0.3436, allocations: 160.9 kB / 0.5657 GB, free: 30.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-06/0.3436, allocations: 26.33 kB / 0.5657 GB, free: 30.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.3436, allocations: 117.5 kB / 0.5658 GB, free: 30.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.3436, allocations: 0 / 0.5658 GB, free: 30.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.3437, allocations: 30.52 kB / 0.5658 GB, free: 30.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.048e-05/0.3437, allocations: 321.6 kB / 0.5661 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.3437, allocations: 10.41 kB / 0.5662 GB, free: 30.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.3437, allocations: 43.56 kB / 0.5662 GB, free: 30.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.3438, allocations: 49.75 kB / 0.5662 GB, free: 30.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3438, allocations: 0 / 0.5662 GB, free: 30.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001143/0.3439, allocations: 77.95 kB / 0.5663 GB, free: 30.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3439, allocations: 6.062 kB / 0.5663 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3439, allocations: 2.781 kB / 0.5663 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3439, allocations: 6.75 kB / 0.5663 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.714e-05/0.344, allocations: 9.031 kB / 0.5663 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.344, allocations: 2.969 kB / 0.5663 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.344, allocations: 14.7 kB / 0.5664 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.344, allocations: 6.75 kB / 0.5664 GB, free: 30.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/0.3441, allocations: 198.3 kB / 0.5666 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.3441, allocations: 109.5 kB / 0.5667 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.3442, allocations: 126.7 kB / 0.5668 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.3442, allocations: 179.6 kB / 0.567 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.498e-05/0.3442, allocations: 179.1 kB / 0.5671 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/0.3442, allocations: 180.2 kB / 0.5673 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.3444, allocations: 439.3 kB / 0.5677 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.3444, allocations: 109.1 kB / 0.5678 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.3444, allocations: 107.7 kB / 0.5679 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-05/0.3444, allocations: 176.4 kB / 0.5681 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.3444, allocations: 180.3 kB / 0.5683 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-05/0.3445, allocations: 194.2 kB / 0.5684 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.218e-05/0.3445, allocations: 180.2 kB / 0.5686 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.699e-05/0.3445, allocations: 313.1 kB / 0.5689 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.3446, allocations: 192 kB / 0.5691 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.3446, allocations: 176.3 kB / 0.5693 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.975e-05/0.3447, allocations: 111.6 kB / 0.5694 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.3447, allocations: 187.7 kB / 0.5696 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.3447, allocations: 107.7 kB / 0.5697 GB, free: 26.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.93e-05/0.3448, allocations: 120.8 kB / 0.5698 GB, free: 26.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3448, allocations: 0 / 0.5698 GB, free: 26.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.345, allocations: 17.56 kB / 0.5698 GB, free: 26.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.807e-05/0.345, allocations: 169.9 kB / 0.57 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.069e-05/0.3451, allocations: 21.38 kB / 0.57 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3451, allocations: 0 / 0.57 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.3451, allocations: 0 / 0.57 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.3454, allocations: 462.2 kB / 0.5704 GB, free: 25.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.3456, allocations: 240.8 kB / 0.5706 GB, free: 25.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.3457, allocations: 0.6975 MB / 0.5713 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.218e-05/0.3458, allocations: 3.562 kB / 0.5713 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.3458, allocations: 10.5 kB / 0.5713 GB, free: 24.98 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3458, allocations: 0 / 0.5713 GB, free: 24.98 MB / 446.1 MB Notification: Performance of Templates: time 0.002363/0.3482, allocations: 425 kB / 0.5717 GB, free: 24.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.106869773007929]