Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 209.5 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 46.96 MB / 360.9 MB, free: 4.152 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 71.89 kB / 0.4961 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3417, allocations: 66.04 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002897/0.3446, allocations: 1.674 MB / 0.5622 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001634/0.3448, allocations: 79.72 kB / 0.5623 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.3448, allocations: 0 / 0.5623 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.936e-05/0.3449, allocations: 23.78 kB / 0.5623 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.345, allocations: 19.78 kB / 0.5623 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.753e-05/0.3451, allocations: 23.98 kB / 0.5623 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.3452, allocations: 99.58 kB / 0.5624 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.3453, allocations: 49.78 kB / 0.5625 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.332e-05/0.3454, allocations: 35.92 kB / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.3455, allocations: 55.77 kB / 0.5626 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.3455, allocations: 12 kB / 0.5626 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.865e-05/0.3455, allocations: 8 kB / 0.5626 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.3456, allocations: 19.94 kB / 0.5626 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.3456, allocations: 43.8 kB / 0.5627 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.3458, allocations: 123.5 kB / 0.5628 GB, free: 1.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3458, allocations: 4 kB / 0.5628 GB, free: 1.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3458, allocations: 0 / 0.5628 GB, free: 1.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3458, allocations: 0 / 0.5628 GB, free: 1.977 MB / 398.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.000468/0.3463, allocations: 318.2 kB / 0.5631 GB, free: 1.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3463, allocations: 16.03 kB / 0.5631 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/0.3463, allocations: 46.73 kB / 0.5631 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.3464, allocations: 12.84 kB / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3465, allocations: 118.4 kB / 0.5633 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3465, allocations: 8.609 kB / 0.5633 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.3465, allocations: 12.38 kB / 0.5633 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.3468, allocations: 129.5 kB / 0.5634 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3468, allocations: 3.938 kB / 0.5634 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3468, allocations: 7.984 kB / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3468, allocations: 4 kB / 0.5634 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3469, allocations: 63.97 kB / 0.5635 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/0.3478, allocations: 0.6719 MB / 0.5641 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.3479, allocations: 169.1 kB / 0.5643 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.3479, allocations: 84.12 kB / 0.5644 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.348, allocations: 75.28 kB / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.474e-05/0.348, allocations: 113.8 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.348, allocations: 3.938 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.55e-05/0.3481, allocations: 29.7 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.3482, allocations: 130.7 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3483, allocations: 152.3 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3484, allocations: 25.7 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.3485, allocations: 131.8 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.3485, allocations: 0 / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.3485, allocations: 17.72 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.3487, allocations: 326.8 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.3487, allocations: 4 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.3488, allocations: 49.09 kB / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.5e-05/0.3489, allocations: 49.09 kB / 0.5654 GB, free: 14.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3489, allocations: 7.984 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001575/0.349, allocations: 73.52 kB / 0.5655 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.349, allocations: 7.938 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.349, allocations: 4 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.349, allocations: 4.188 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.3491, allocations: 8 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3491, allocations: 7.938 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.3492, allocations: 11.89 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.3492, allocations: 8 kB / 0.5656 GB, free: 14.86 MB / 414.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 0.000126/0.3493, allocations: 193.1 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.3494, allocations: 114 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.849e-05/0.3495, allocations: 116.5 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.969e-05/0.3495, allocations: 180.3 kB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-05/0.3496, allocations: 176.3 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.1e-05/0.3497, allocations: 196.1 kB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.35, allocations: 404.4 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/0.3501, allocations: 104.9 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.3501, allocations: 101 kB / 0.5671 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.07e-05/0.3502, allocations: 184.4 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-05/0.3503, allocations: 184.2 kB / 0.5674 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.413e-05/0.3504, allocations: 180.3 kB / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.56e-05/0.3505, allocations: 184.2 kB / 0.5678 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.3506, allocations: 319.6 kB / 0.5681 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/0.3507, allocations: 104.9 kB / 0.5682 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-05/0.3508, allocations: 184.3 kB / 0.5684 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3509, allocations: 108.9 kB / 0.5685 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.351, allocations: 180.2 kB / 0.5686 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.485e-05/0.3511, allocations: 116.9 kB / 0.5687 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.239e-05/0.3511, allocations: 103.3 kB / 0.5688 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3511, allocations: 0 / 0.5688 GB, free: 11.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.3514, allocations: 19.94 kB / 0.5689 GB, free: 11.27 MB / 414.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 0.0004507/0.3519, allocations: 0.8048 MB / 0.5696 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.359e-05/0.352, allocations: 16.19 kB / 0.5697 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.352, allocations: 8.125 kB / 0.5697 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.352, allocations: 0 / 0.5697 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.3524, allocations: 476.8 kB / 0.5701 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.3538, allocations: 1.579 MB / 0.5717 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.352e-05/0.3539, allocations: 84.12 kB / 0.5717 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.314e-05/0.3539, allocations: 4 kB / 0.5718 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.354, allocations: 27.42 kB / 0.5718 GB, free: 8.129 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.354, allocations: 0 / 0.5718 GB, free: 8.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.3825, allocations: 2.143 MB / 0.5739 GB, free: 6.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.95, allocations: 7.266 kB / 0.5739 GB, free: 6.105 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 13.839735336980084]