Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 108.8 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 187.4 kB / 24.51 MB, free: 4.031 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2472/0.2472, allocations: 44.9 MB / 353.5 MB, free: 11.91 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 71.88 kB / 497.7 MB, free: 1.035 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4026, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003107/0.4057, allocations: 1.726 MB / 0.5505 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0001767/0.4059, allocations: 80.61 kB / 0.5506 GB, free: 11.71 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.406, allocations: 3.25 kB / 0.5506 GB, free: 11.71 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 6.039e-05/0.406, allocations: 13.11 kB / 0.5506 GB, free: 11.7 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 7.87e-05/0.4061, allocations: 27.14 kB / 0.5506 GB, free: 11.68 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 9.006e-05/0.4062, allocations: 25.66 kB / 0.5506 GB, free: 11.66 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001342/0.4063, allocations: 96.75 kB / 0.5507 GB, free: 11.6 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.4065, allocations: 42.88 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.364e-05/0.4066, allocations: 44.53 kB / 0.5508 GB, free: 11.55 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/0.4066, allocations: 47.88 kB / 0.5508 GB, free: 11.51 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.4067, allocations: 10.84 kB / 0.5509 GB, free: 11.51 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.4067, allocations: 13.91 kB / 0.5509 GB, free: 11.51 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.4067, allocations: 24.3 kB / 0.5509 GB, free: 11.49 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.4068, allocations: 55.33 kB / 0.5509 GB, free: 11.45 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.407, allocations: 125.2 kB / 0.5511 GB, free: 11.36 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.407, allocations: 0 / 0.5511 GB, free: 11.36 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.034e-06/0.407, allocations: 1.312 kB / 0.5511 GB, free: 11.36 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.252e-05/0.407, allocations: 0 / 0.5511 GB, free: 11.36 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.0005065/0.4075, allocations: 321.3 kB / 0.5514 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4075, allocations: 9.922 kB / 0.5514 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.4076, allocations: 14.98 kB / 0.5514 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.4077, allocations: 118 kB / 0.5515 GB, free: 10.9 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4077, allocations: 9.328 kB / 0.5515 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.4078, allocations: 15.14 kB / 0.5515 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.408, allocations: 128.6 kB / 0.5517 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.408, allocations: 192 / 0.5517 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.408, allocations: 9.062 kB / 0.5517 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.408, allocations: 3.281 kB / 0.5517 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.4081, allocations: 69.91 kB / 0.5517 GB, free: 10.75 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008825/0.409, allocations: 0.6816 MB / 0.5524 GB, free: 10.08 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.4091, allocations: 178.5 kB / 0.5526 GB, free: 9.895 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.4092, allocations: 80.14 kB / 0.5526 GB, free: 9.812 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.4092, allocations: 75.28 kB / 0.5527 GB, free: 9.738 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.663e-05/0.4093, allocations: 107.1 kB / 0.5528 GB, free: 9.625 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.4093, allocations: 0 / 0.5528 GB, free: 9.625 MB / 398.1 MB
Notification: Performance of matching and sorting (n=0): time 7.79e-05/0.4094, allocations: 33.78 kB / 0.5529 GB, free: 9.59 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.4094, allocations: 130.6 kB / 0.553 GB, free: 9.449 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.4096, allocations: 150.5 kB / 0.5531 GB, free: 9.32 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.4096, allocations: 27.02 kB / 0.5531 GB, free: 9.289 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.4097, allocations: 125.4 kB / 0.5533 GB, free: 9.168 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.155e-06/0.4097, allocations: 1.531 kB / 0.5533 GB, free: 9.168 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.4097, allocations: 17.91 kB / 0.5533 GB, free: 9.148 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001459/0.4099, allocations: 324.1 kB / 0.5536 GB, free: 8.824 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.4099, allocations: 8.438 kB / 0.5536 GB, free: 8.82 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-05/0.4099, allocations: 43.59 kB / 0.5536 GB, free: 8.766 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 7.706e-05/0.41, allocations: 55.61 kB / 0.5537 GB, free: 8.703 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.41, allocations: 3.938 kB / 0.5537 GB, free: 8.699 MB / 398.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001507/0.4101, allocations: 75.14 kB / 0.5538 GB, free: 8.645 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4102, allocations: 5.625 kB / 0.5538 GB, free: 8.645 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4102, allocations: 2.281 kB / 0.5538 GB, free: 8.645 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4102, allocations: 9.156 kB / 0.5538 GB, free: 8.637 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.4102, allocations: 9.531 kB / 0.5538 GB, free: 8.637 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4103, allocations: 5.312 kB / 0.5538 GB, free: 8.633 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.4103, allocations: 16.3 kB / 0.5538 GB, free: 8.621 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.4103, allocations: 6.25 kB / 0.5538 GB, free: 8.617 MB / 398.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.000124/0.4104, allocations: 201.9 kB / 0.554 GB, free: 8.414 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.4105, allocations: 116.6 kB / 0.5541 GB, free: 8.297 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855e-05/0.4106, allocations: 111.2 kB / 0.5542 GB, free: 8.18 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.408e-05/0.4107, allocations: 181.3 kB / 0.5544 GB, free: 7.996 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.861e-05/0.4107, allocations: 185.3 kB / 0.5546 GB, free: 7.809 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-05/0.4108, allocations: 177.5 kB / 0.5548 GB, free: 7.629 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.4111, allocations: 412 kB / 0.5551 GB, free: 7.191 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.493e-05/0.4112, allocations: 102.1 kB / 0.5552 GB, free: 7.086 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.828e-05/0.4112, allocations: 110 kB / 0.5554 GB, free: 6.973 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.043e-05/0.4113, allocations: 181.6 kB / 0.5555 GB, free: 6.789 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.449e-05/0.4114, allocations: 181.4 kB / 0.5557 GB, free: 6.605 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.725e-05/0.4115, allocations: 185.3 kB / 0.5559 GB, free: 6.418 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.409e-05/0.4116, allocations: 177.5 kB / 0.556 GB, free: 6.238 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.4118, allocations: 313.4 kB / 0.5563 GB, free: 5.914 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.4118, allocations: 111.2 kB / 0.5564 GB, free: 5.801 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.412, allocations: 185.4 kB / 0.5566 GB, free: 5.613 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.4121, allocations: 106.2 kB / 0.5567 GB, free: 5.504 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.4122, allocations: 181.3 kB / 0.5569 GB, free: 5.32 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.4122, allocations: 106.2 kB / 0.557 GB, free: 5.211 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 9.632e-05/0.4123, allocations: 119.8 kB / 0.5571 GB, free: 5.113 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4123, allocations: 0 / 0.5571 GB, free: 5.113 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002631/0.4126, allocations: 21.86 kB / 0.5571 GB, free: 5.105 MB / 398.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.0001279/0.4127, allocations: 167 kB / 0.5573 GB, free: 4.945 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 9.313e-05/0.4128, allocations: 22.89 kB / 0.5573 GB, free: 4.934 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4128, allocations: 0 / 0.5573 GB, free: 4.934 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.4128, allocations: 384 / 0.5573 GB, free: 4.934 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.4132, allocations: 470 kB / 0.5578 GB, free: 4.473 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.4136, allocations: 249 kB / 0.558 GB, free: 4.246 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.414, allocations: 0.7007 MB / 0.5587 GB, free: 3.535 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 2.322e-05/0.414, allocations: 6.25 kB / 0.5587 GB, free: 3.531 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.414, allocations: 9.781 kB / 0.5587 GB, free: 3.523 MB / 398.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.414, allocations: 0 / 0.5587 GB, free: 3.523 MB / 398.1 MB
Notification: Performance of Templates: time 0.002766/0.4168, allocations: 443.8 kB / 0.5591 GB, free: 3.301 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.4048624681308866]