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.00138/0.00138, allocations: 113 kB / 18.49 MB, free: 4.539 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.001493/0.001493, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.472/1.472, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.235/0.235, allocations: 46.92 MB / 357.8 MB, free: 10.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003013/0.003013, allocations: 59.89 kB / 0.4916 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1806, allocations: 65.98 MB / 0.556 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.004091/0.1847, allocations: 1.738 MB / 0.5577 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003132/0.185, allocations: 83.7 kB / 0.5578 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1851, allocations: 0 / 0.5578 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.495e-05/0.1852, allocations: 15.86 kB / 0.5578 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.1853, allocations: 35.7 kB / 0.5579 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.1854, allocations: 19.97 kB / 0.5579 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.1856, allocations: 99.59 kB / 0.558 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.1859, allocations: 44.89 kB / 0.558 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.486e-05/0.1859, allocations: 43.84 kB / 0.5581 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.1861, allocations: 47.78 kB / 0.5581 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.1861, allocations: 12 kB / 0.5581 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.303e-05/0.1861, allocations: 12 kB / 0.5581 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.1861, allocations: 19.92 kB / 0.5581 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.1862, allocations: 55.8 kB / 0.5582 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.1865, allocations: 119.5 kB / 0.5583 GB, free: 3.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.1865, allocations: 4 kB / 0.5583 GB, free: 3.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1865, allocations: 0 / 0.5583 GB, free: 3.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1865, allocations: 4 kB / 0.5583 GB, free: 3.48 MB / 414.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.0009764/0.1875, allocations: 399.3 kB / 0.5587 GB, free: 3.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1875, allocations: 12.03 kB / 0.5587 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.639e-05/0.1875, allocations: 432 / 0.5587 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.626e-05/0.1876, allocations: 46.75 kB / 0.5588 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.1876, allocations: 16.84 kB / 0.5588 GB, free: 2.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.1879, allocations: 172.2 kB / 0.5589 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1879, allocations: 12.61 kB / 0.5589 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.1879, allocations: 8.375 kB / 0.559 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.1883, allocations: 135.7 kB / 0.5591 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1883, allocations: 3.938 kB / 0.5591 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.1883, allocations: 4 kB / 0.5591 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1883, allocations: 4 kB / 0.5591 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.1884, allocations: 59.98 kB / 0.5592 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.1896, allocations: 0.7313 MB / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1898, allocations: 173.1 kB / 0.56 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.1898, allocations: 80.14 kB / 0.5601 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.1899, allocations: 75.28 kB / 0.5602 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.209e-05/0.19, allocations: 109.8 kB / 0.5603 GB, free: 1.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.19, allocations: 3.938 kB / 0.5603 GB, free: 1.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.319e-05/0.1901, allocations: 29.7 kB / 0.5603 GB, free: 1.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.1902, allocations: 130.7 kB / 0.5604 GB, free: 1.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1903, allocations: 159.3 kB / 0.5606 GB, free: 0.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1904, allocations: 25.7 kB / 0.5606 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.1904, allocations: 119.9 kB / 0.5607 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-06/0.1905, allocations: 0 / 0.5607 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1905, allocations: 25.67 kB / 0.5608 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.1907, allocations: 318.8 kB / 0.5611 GB, free: 424 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.1907, allocations: 4 kB / 0.5611 GB, free: 420 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.436e-05/0.1908, allocations: 53.08 kB / 0.5611 GB, free: 348 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.15e-05/0.1909, allocations: 53.09 kB / 0.5612 GB, free: 276 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1909, allocations: 0 / 0.5612 GB, free: 276 kB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002002/0.1911, allocations: 69.56 kB / 0.5612 GB, free: 200 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1911, allocations: 8 kB / 0.5612 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1911, allocations: 0 / 0.5612 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1911, allocations: 4 kB / 0.5612 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.961e-05/0.1912, allocations: 12 kB / 0.5613 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1912, allocations: 8.172 kB / 0.5613 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.1912, allocations: 15.83 kB / 0.5613 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1912, allocations: 7.938 kB / 0.5613 GB, free: 144 kB / 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.0001541/0.1914, allocations: 195.2 kB / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.1915, allocations: 108.9 kB / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/0.1916, allocations: 124.6 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.724e-05/0.1916, allocations: 184.2 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.345e-05/0.1917, allocations: 176.3 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.388e-05/0.1918, allocations: 184.2 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.1921, allocations: 441.3 kB / 0.5626 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-05/0.1922, allocations: 112.9 kB / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.1922, allocations: 101 kB / 0.5628 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001678/0.1924, allocations: 184.2 kB / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.474e-05/0.1925, allocations: 180.2 kB / 0.5632 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.549e-05/0.1926, allocations: 180.3 kB / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001986/0.1928, allocations: 180.2 kB / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.193, allocations: 315.7 kB / 0.5638 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1932, allocations: 190 kB / 0.564 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.1934, allocations: 184.2 kB / 0.5642 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.1935, allocations: 104.9 kB / 0.5643 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.1936, allocations: 192.2 kB / 0.5645 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.1936, allocations: 101 kB / 0.5646 GB, free: 12.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.896e-05/0.1937, allocations: 117.4 kB / 0.5647 GB, free: 12.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1937, allocations: 0 / 0.5647 GB, free: 12.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.194, allocations: 19.94 kB / 0.5647 GB, free: 12.42 MB / 430.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.0008142/0.1949, allocations: 0.8048 MB / 0.5655 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.195, allocations: 19.94 kB / 0.5655 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.195, allocations: 0 / 0.5655 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.195, allocations: 4 kB / 0.5655 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.1956, allocations: 459.6 kB / 0.5659 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1975, allocations: 1.596 MB / 0.5675 GB, free: 9.406 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.1979, allocations: 0.6963 MB / 0.5682 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.702e-05/0.198, allocations: 0 / 0.5682 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.198, allocations: 27.42 kB / 0.5682 GB, free: 8.656 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.198, allocations: 0 / 0.5682 GB, free: 8.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.2174, allocations: 1.641 MB / 0.5698 GB, free: 7.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.407/8.625, allocations: 18.91 kB / 0.5698 GB, free: 7.105 MB / 430.1 MB " [Timeout remaining time 651] (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: 11.73408908903366]