Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.001728/0.001728, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001967/0.001967, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.609/1.609, allocations: 230.3 MB / 257.9 MB, free: 8.238 MB / 206.1 MB
"
[Timeout remaining time 178]
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: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit")
translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 59.89 kB / 378.8 MB, free: 2.762 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4093, allocations: 53.38 MB / 432.1 MB, free: 7.043 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004809/0.4141, allocations: 2.159 MB / 434.3 MB, free: 4.879 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001681/0.4157, allocations: 0.5882 MB / 434.9 MB, free: 4.285 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.416, allocations: 0 / 434.9 MB, free: 4.285 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.4162, allocations: 31.7 kB / 434.9 MB, free: 4.254 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.4164, allocations: 63.48 kB / 435 MB, free: 4.191 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.4167, allocations: 51.88 kB / 435 MB, free: 4.141 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004627/0.4172, allocations: 231 kB / 435.3 MB, free: 3.914 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.4174, allocations: 61.77 kB / 435.3 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.4176, allocations: 87.7 kB / 435.4 MB, free: 3.766 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.4178, allocations: 99.61 kB / 435.5 MB, free: 3.668 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.4179, allocations: 20 kB / 435.5 MB, free: 3.648 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.204e-05/0.4179, allocations: 20 kB / 435.5 MB, free: 3.629 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.787e-05/0.418, allocations: 55.83 kB / 435.6 MB, free: 3.574 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.4181, allocations: 99.53 kB / 435.7 MB, free: 3.477 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.4185, allocations: 232.8 kB / 435.9 MB, free: 3.254 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4185, allocations: 0 / 435.9 MB, free: 3.254 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.884e-06/0.4185, allocations: 4 kB / 435.9 MB, free: 3.25 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.113e-05/0.4186, allocations: 0 / 435.9 MB, free: 3.25 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 44
 * Number of variables: 44
Notification: Performance of Generate backend data structure: time 0.0009868/0.4195, allocations: 429.5 kB / 436.3 MB, free: 2.801 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.4196, allocations: 8.031 kB / 436.3 MB, free: 2.793 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.4197, allocations: 24.8 kB / 436.4 MB, free: 2.77 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.4201, allocations: 170.2 kB / 436.5 MB, free: 2.578 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.4201, allocations: 12.38 kB / 436.5 MB, free: 2.566 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.4201, allocations: 20.38 kB / 436.6 MB, free: 2.547 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.4206, allocations: 181.9 kB / 436.7 MB, free: 2.363 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.4206, allocations: 4 kB / 436.7 MB, free: 2.359 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.4206, allocations: 4 kB / 436.8 MB, free: 2.355 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4206, allocations: 4 kB / 436.8 MB, free: 2.352 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.421, allocations: 155.8 kB / 436.9 MB, free: 2.199 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.4224, allocations: 0.7032 MB / 437.6 MB, free: 1.434 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.4229, allocations: 154.5 kB / 437.8 MB, free: 1.273 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.4231, allocations: 80.83 kB / 437.8 MB, free: 1.191 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.4231, allocations: 4 kB / 437.8 MB, free: 1.188 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.4231, allocations: 34.56 kB / 437.9 MB, free: 1.145 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.4231, allocations: 0 / 437.9 MB, free: 1.145 MB / 334.1 MB
Notification: Performance of matching and sorting (n=13): time 0.00059/0.4237, allocations: 185.7 kB / 438.1 MB, free: 0.957 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.4238, allocations: 63.34 kB / 438.1 MB, free: 0.8828 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.424, allocations: 149.4 kB / 438.3 MB, free: 0.7305 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.424, allocations: 29.7 kB / 438.3 MB, free: 0.6953 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.4242, allocations: 140.2 kB / 438.4 MB, free: 0.5547 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.4242, allocations: 47.58 kB / 438.5 MB, free: 0.5078 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.4243, allocations: 33.7 kB / 438.5 MB, free: 480 kB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002282/0.4245, allocations: 322.8 kB / 438.8 MB, free: 148 kB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.4247, allocations: 59.92 kB / 438.9 MB, free: 88 kB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.4249, allocations: 76.38 kB / 439 MB, free: 8 kB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.4252, allocations: 124.4 kB / 439.1 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4252, allocations: 0 / 439.1 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003972/0.4256, allocations: 173.5 kB / 439.3 MB, free: 15.7 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4256, allocations: 11.94 kB / 439.3 MB, free: 15.69 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4256, allocations: 0 / 439.3 MB, free: 15.69 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.4256, allocations: 3.938 kB / 439.3 MB, free: 15.69 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.4259, allocations: 39.97 kB / 439.3 MB, free: 15.65 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4259, allocations: 4 kB / 439.3 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.426, allocations: 15.89 kB / 439.3 MB, free: 15.63 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.426, allocations: 4 kB / 439.3 MB, free: 15.62 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (19):
 * Single equations (assignments): 19
 * 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.0001498/0.4261, allocations: 133.8 kB / 439.5 MB, free: 15.48 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.4262, allocations: 15.91 kB / 439.5 MB, free: 15.47 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.4262, allocations: 20.7 kB / 439.5 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4263, allocations: 4 kB / 439.5 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4263, allocations: 0 / 439.5 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4263, allocations: 0 / 439.5 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.4266, allocations: 232.6 kB / 439.7 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.4266, allocations: 0 / 439.7 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.4269, allocations: 35.97 kB / 439.8 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4269, allocations: 0 / 439.8 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.4269, allocations: 15.94 kB / 439.8 MB, free: 15.12 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.4269, allocations: 0 / 439.8 MB, free: 15.12 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4269, allocations: 0 / 439.8 MB, free: 15.12 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.4275, allocations: 295.3 kB / 440.1 MB, free: 14.82 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.4275, allocations: 19.88 kB / 440.1 MB, free: 14.8 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.4275, allocations: 11.94 kB / 440.1 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.4277, allocations: 12 kB / 440.1 MB, free: 14.78 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.4277, allocations: 11.97 kB / 440.1 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.4278, allocations: 8 kB / 440.1 MB, free: 14.76 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001208/0.4279, allocations: 111.3 kB / 440.2 MB, free: 14.65 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4279, allocations: 0 / 440.2 MB, free: 14.65 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.000316/0.4282, allocations: 47.89 kB / 440.3 MB, free: 14.6 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (L.i,C1.v,C2.v)
 * 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 (13):
 * Single equations (assignments): 13
 * 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.0001458/0.4283, allocations: 102.3 kB / 440.4 MB, free: 14.5 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003594/0.4287, allocations: 123.9 kB / 440.5 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.4287, allocations: 4 kB / 440.5 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.4288, allocations: 55.91 kB / 440.6 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.4292, allocations: 31.91 kB / 440.6 MB, free: 14.29 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.4305, allocations: 0.5303 MB / 441.1 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.4311, allocations: 0.7201 MB / 441.8 MB, free: 12.99 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 9.089e-05/0.4312, allocations: 17.42 kB / 441.9 MB, free: 12.97 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.4312, allocations: 11.44 kB / 441.9 MB, free: 12.96 MB / 350.1 MB
Notification: Performance of SimCode: time 1.313e-06/0.4312, allocations: 0 / 441.9 MB, free: 12.96 MB / 350.1 MB
Notification: Performance of Templates: time 0.006446/0.4377, allocations: 1.736 MB / 443.6 MB, free: 11.24 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
"Warning: Resultfile and Reference have different end time points!
Reffile[6013]=3000.000000
File[50210]=50000.000000
"
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.209267335012555]