Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.001327/0.001327, allocations: 120.5 kB / 18.41 MB, free: 4.652 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.002215/0.002215, allocations: 186.7 kB / 21.34 MB, free: 1.723 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.799/1.799, allocations: 222.9 MB / 247 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 47.92 kB / 358.7 MB, free: 8.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09656/0.09817, allocations: 49.43 MB / 408.1 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003599/0.1018, allocations: 2.149 MB / 410.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1029, allocations: 0.5298 MB / 410.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.103, allocations: 4 kB / 410.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.1031, allocations: 23.72 kB / 410.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.1033, allocations: 55.48 kB / 410.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.1035, allocations: 63.84 kB / 410.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.1038, allocations: 231 kB / 411.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.104, allocations: 73.66 kB / 411.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1042, allocations: 91.7 kB / 411.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.1043, allocations: 95.61 kB / 411.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.1044, allocations: 20 kB / 411.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.1044, allocations: 20 kB / 411.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.1045, allocations: 51.89 kB / 411.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.1046, allocations: 103.5 kB / 411.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.1049, allocations: 235.1 kB / 411.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.105, allocations: 0 / 411.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.105, allocations: 4 kB / 411.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.105, allocations: 0 / 411.8 MB, free: 3.207 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.0008531/0.1058, allocations: 0.4926 MB / 412.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1059, allocations: 8.031 kB / 412.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.1059, allocations: 20.8 kB / 412.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.1063, allocations: 220.1 kB / 412.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.1063, allocations: 16.36 kB / 412.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.1064, allocations: 20.38 kB / 412.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.1068, allocations: 177.9 kB / 412.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1068, allocations: 7.938 kB / 412.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.1068, allocations: 8 kB / 412.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1069, allocations: 4 kB / 412.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.1072, allocations: 147.8 kB / 412.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.1086, allocations: 0.7469 MB / 413.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.109, allocations: 162.5 kB / 413.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.1092, allocations: 100.8 kB / 413.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.1093, allocations: 0 / 413.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.1093, allocations: 30.56 kB / 414 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.1093, allocations: 0 / 414 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005058/0.1098, allocations: 181.5 kB / 414.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.1099, allocations: 59.34 kB / 414.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1101, allocations: 152.3 kB / 414.4 MB, free: 484 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.1101, allocations: 29.69 kB / 414.4 MB, free: 448 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1102, allocations: 136.3 kB / 414.5 MB, free: 308 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.1102, allocations: 55.58 kB / 414.6 MB, free: 252 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.1103, allocations: 29.72 kB / 414.6 MB, free: 216 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1105, allocations: 322.8 kB / 414.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1106, allocations: 51.97 kB / 415 MB, free: 15.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.1108, allocations: 73.69 kB / 415 MB, free: 15.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.1111, allocations: 127.8 kB / 415.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1111, allocations: 0 / 415.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003838/0.1115, allocations: 181.4 kB / 415.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1115, allocations: 11.97 kB / 415.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1115, allocations: 0 / 415.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1115, allocations: 7.938 kB / 415.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.1118, allocations: 43.97 kB / 415.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1118, allocations: 0 / 415.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.1119, allocations: 11.89 kB / 415.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1119, allocations: 8 kB / 415.4 MB, free: 15.36 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.0001254/0.1121, allocations: 125.8 kB / 415.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.1121, allocations: 19.94 kB / 415.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.1122, allocations: 20.78 kB / 415.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1122, allocations: 4 kB / 415.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1122, allocations: 0 / 415.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1122, allocations: 0 / 415.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.1125, allocations: 265.5 kB / 415.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1125, allocations: 0 / 415.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.1128, allocations: 39.97 kB / 415.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1128, allocations: 4 kB / 415.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1128, allocations: 3.938 kB / 415.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1128, allocations: 4 kB / 415.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1128, allocations: 0 / 415.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.1133, allocations: 303.1 kB / 416.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.1134, allocations: 93.03 kB / 416.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.1135, allocations: 7.938 kB / 416.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.1136, allocations: 15.98 kB / 416.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.1137, allocations: 8 kB / 416.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1137, allocations: 7.984 kB / 416.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.1138, allocations: 114.5 kB / 416.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1138, allocations: 0 / 416.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1141, allocations: 47.89 kB / 416.5 MB, free: 14.21 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.000146/0.1142, allocations: 103.8 kB / 416.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.1146, allocations: 131.9 kB / 416.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1146, allocations: 4 kB / 416.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1148, allocations: 59.91 kB / 416.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.1151, allocations: 34.11 kB / 416.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1163, allocations: 0.5424 MB / 417.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.1167, allocations: 0.7239 MB / 418.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.1168, allocations: 19.44 kB / 418.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1168, allocations: 0 / 418.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of Templates: time 0.004227/0.121, allocations: 2.023 MB / 420.1 MB, free: 10.52 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.v,C2.v,L.i,time [Calling sys.exit(0), Time elapsed: 8.474476850009523]