Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001788/0.001788, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002575/0.002575, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.485/1.485, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2478/0.2478, allocations: 46.95 MB / 360.8 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 83.88 kB / 0.4961 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3517, allocations: 66.08 MB / 0.5607 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003276/0.355, allocations: 1.67 MB / 0.5623 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001956/0.3552, allocations: 79.66 kB / 0.5624 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.3553, allocations: 0 / 0.5624 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.562e-05/0.3553, allocations: 19.8 kB / 0.5624 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.502e-05/0.3554, allocations: 23.78 kB / 0.5624 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.3555, allocations: 23.97 kB / 0.5624 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.3557, allocations: 103.6 kB / 0.5625 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.3559, allocations: 45.78 kB / 0.5626 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.598e-05/0.356, allocations: 35.92 kB / 0.5626 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.3561, allocations: 43.72 kB / 0.5627 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.3561, allocations: 12 kB / 0.5627 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.971e-05/0.3561, allocations: 12 kB / 0.5627 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.3562, allocations: 19.92 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.3562, allocations: 43.8 kB / 0.5627 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.3564, allocations: 119.6 kB / 0.5629 GB, free: 1.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3564, allocations: 0 / 0.5629 GB, free: 1.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3565, allocations: 4 kB / 0.5629 GB, free: 1.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3565, allocations: 3.938 kB / 0.5629 GB, free: 1.809 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.0006384/0.3571, allocations: 326.2 kB / 0.5632 GB, free: 1.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.3572, allocations: 8.031 kB / 0.5632 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.342e-05/0.3572, allocations: 46.73 kB / 0.5632 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.3573, allocations: 12.84 kB / 0.5632 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.3574, allocations: 114.4 kB / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.3575, allocations: 12.61 kB / 0.5634 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.3575, allocations: 8.375 kB / 0.5634 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.3578, allocations: 129.6 kB / 0.5635 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3578, allocations: 3.938 kB / 0.5635 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.3578, allocations: 4 kB / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.3578, allocations: 4 kB / 0.5635 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.358, allocations: 67.91 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009652/0.3589, allocations: 0.668 MB / 0.5642 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.3591, allocations: 169.1 kB / 0.5644 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.3591, allocations: 80.14 kB / 0.5645 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.576e-05/0.3592, allocations: 83.28 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.3592, allocations: 113.8 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3592, allocations: 0 / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.629e-05/0.3593, allocations: 33.64 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.3594, allocations: 130.7 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.3596, allocations: 149.5 kB / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3596, allocations: 25.7 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3597, allocations: 127.8 kB / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/0.3597, allocations: 0 / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.3598, allocations: 21.7 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3599, allocations: 322.8 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.3599, allocations: 8 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.998e-05/0.36, allocations: 45.14 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.491e-05/0.3601, allocations: 53.09 kB / 0.5655 GB, free: 14.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3601, allocations: 3.938 kB / 0.5655 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001716/0.3602, allocations: 77.64 kB / 0.5656 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3602, allocations: 8 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3603, allocations: 4 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3603, allocations: 0 / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.3603, allocations: 15.98 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3604, allocations: 7.922 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.3604, allocations: 11.89 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.3604, allocations: 4 kB / 0.5657 GB, free: 14.69 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.0001435/0.3606, allocations: 197.2 kB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.3607, allocations: 118 kB / 0.566 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.457e-05/0.3607, allocations: 116.6 kB / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/0.3608, allocations: 180.2 kB / 0.5662 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001035/0.3609, allocations: 180.3 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-05/0.361, allocations: 184.2 kB / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.3613, allocations: 408.2 kB / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.832e-05/0.3614, allocations: 101 kB / 0.5671 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.3614, allocations: 108.9 kB / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.202e-05/0.3615, allocations: 176.4 kB / 0.5673 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.3616, allocations: 176.3 kB / 0.5675 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-05/0.3617, allocations: 200.2 kB / 0.5677 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.99e-05/0.3618, allocations: 176.3 kB / 0.5679 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.362, allocations: 311.7 kB / 0.5682 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.3621, allocations: 116.9 kB / 0.5683 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.3622, allocations: 184.3 kB / 0.5685 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/0.3623, allocations: 101 kB / 0.5685 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.3624, allocations: 188.2 kB / 0.5687 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-05/0.3624, allocations: 104.9 kB / 0.5688 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.823e-05/0.3625, allocations: 113.6 kB / 0.5689 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3625, allocations: 7.938 kB / 0.5689 GB, free: 11.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.3628, allocations: 12 kB / 0.569 GB, free: 11.11 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.0004598/0.3632, allocations: 0.8126 MB / 0.5697 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.48e-05/0.3633, allocations: 15.94 kB / 0.5698 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3633, allocations: 4 kB / 0.5698 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.3633, allocations: 0 / 0.5698 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.3638, allocations: 466.3 kB / 0.5702 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.3654, allocations: 1.584 MB / 0.5718 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.3655, allocations: 85.27 kB / 0.5718 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.861e-05/0.3655, allocations: 3.984 kB / 0.5718 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.3656, allocations: 23.44 kB / 0.5719 GB, free: 7.961 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3656, allocations: 0 / 0.5719 GB, free: 7.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.3961, allocations: 2.105 MB / 0.5739 GB, free: 5.953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.27, allocations: 11.36 kB / 0.5739 GB, free: 5.945 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv","/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_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gyrator.v1 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v1 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.v2 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v2 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i1 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i1 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i2 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i2 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.434173468034714]