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.001349/0.001349, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001568/0.001568, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.415/1.415, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2295/0.2295, allocations: 46.94 MB / 360.9 MB, free: 4.344 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.002153/0.002153, allocations: 67.91 kB / 0.4961 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3141, allocations: 66.03 MB / 0.5606 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003066/0.3172, allocations: 1.74 MB / 0.5623 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000176/0.3173, allocations: 83.66 kB / 0.5624 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.3174, allocations: 4 kB / 0.5624 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.44e-05/0.3175, allocations: 15.84 kB / 0.5624 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.11e-05/0.3175, allocations: 19.8 kB / 0.5624 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.566e-05/0.3176, allocations: 27.91 kB / 0.5625 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.3178, allocations: 103.6 kB / 0.5626 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.3179, allocations: 43.47 kB / 0.5626 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.318, allocations: 43.86 kB / 0.5627 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.812e-05/0.3181, allocations: 47.78 kB / 0.5627 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.3181, allocations: 12 kB / 0.5627 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.766e-05/0.3181, allocations: 12 kB / 0.5627 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.3182, allocations: 23.92 kB / 0.5627 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.3182, allocations: 51.8 kB / 0.5628 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.3184, allocations: 123.4 kB / 0.5629 GB, free: 2.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3184, allocations: 0 / 0.5629 GB, free: 2.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3184, allocations: 0 / 0.5629 GB, free: 2.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3184, allocations: 0 / 0.5629 GB, free: 2.137 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.0004745/0.3189, allocations: 326.2 kB / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3189, allocations: 12.03 kB / 0.5632 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.099e-05/0.319, allocations: 46.73 kB / 0.5633 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.319, allocations: 12.84 kB / 0.5633 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3191, allocations: 114.4 kB / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3191, allocations: 8.609 kB / 0.5634 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.3191, allocations: 12.38 kB / 0.5634 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.3194, allocations: 125.6 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3194, allocations: 3.938 kB / 0.5635 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.3194, allocations: 7.984 kB / 0.5635 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3194, allocations: 8 kB / 0.5636 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.3195, allocations: 67.91 kB / 0.5636 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008622/0.3204, allocations: 0.6914 MB / 0.5643 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.736e-05/0.3205, allocations: 173.1 kB / 0.5645 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.3205, allocations: 80.14 kB / 0.5645 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.3205, allocations: 75.28 kB / 0.5646 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.3206, allocations: 109.8 kB / 0.5647 GB, free: 124 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3206, allocations: 0 / 0.5647 GB, free: 124 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.006e-05/0.3207, allocations: 25.7 kB / 0.5647 GB, free: 92 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.699e-05/0.3208, allocations: 138.6 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.3209, allocations: 160.2 kB / 0.565 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3209, allocations: 25.7 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.321, allocations: 119.8 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.321, allocations: 4 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.321, allocations: 25.67 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3212, allocations: 318.8 kB / 0.5655 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.3212, allocations: 12 kB / 0.5655 GB, free: 15.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.256e-05/0.3212, allocations: 41.16 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/0.3213, allocations: 53.08 kB / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3213, allocations: 3.938 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001502/0.3215, allocations: 77.56 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3215, allocations: 4 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3215, allocations: 4 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3215, allocations: 4.188 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.3216, allocations: 11.94 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3216, allocations: 4 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.3216, allocations: 11.89 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3216, allocations: 4.109 kB / 0.5657 GB, free: 15 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.0001189/0.3217, allocations: 197.1 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.178e-05/0.3218, allocations: 113.9 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.793e-05/0.3219, allocations: 120.6 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-05/0.322, allocations: 188.2 kB / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.813e-05/0.322, allocations: 180.3 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.541e-05/0.3221, allocations: 180.2 kB / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.3224, allocations: 412.2 kB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-05/0.3224, allocations: 101 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.3225, allocations: 108.9 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.315e-05/0.3225, allocations: 180.4 kB / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.947e-05/0.3226, allocations: 180.2 kB / 0.5676 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.527e-05/0.3227, allocations: 184.2 kB / 0.5678 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.976e-05/0.3228, allocations: 176.3 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.3229, allocations: 319.7 kB / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.323, allocations: 116.9 kB / 0.5683 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/0.3231, allocations: 184.2 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3232, allocations: 101 kB / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.3232, allocations: 180.2 kB / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.3233, allocations: 116.9 kB / 0.5689 GB, free: 11.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.12e-05/0.3234, allocations: 109.5 kB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3234, allocations: 3.938 kB / 0.569 GB, free: 11.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.3236, allocations: 19.94 kB / 0.569 GB, free: 11.4 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.0004517/0.3241, allocations: 0.8087 MB / 0.5698 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.848e-05/0.3241, allocations: 19.94 kB / 0.5698 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3241, allocations: 0 / 0.5698 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.3241, allocations: 0 / 0.5698 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.3245, allocations: 463.6 kB / 0.5703 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.3259, allocations: 1.585 MB / 0.5718 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.3262, allocations: 0.7001 MB / 0.5725 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.96e-05/0.3263, allocations: 0 / 0.5725 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.3263, allocations: 27.42 kB / 0.5725 GB, free: 7.641 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3263, allocations: 4 kB / 0.5725 GB, free: 7.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.3535, allocations: 1.73 MB / 0.5742 GB, free: 6.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11, allocations: 6.516 kB / 0.5742 GB, free: 6.031 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.820216502994299]