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.001944/0.001944, allocations: 114.7 kB / 18.45 MB, free: 4.566 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.002075/0.002075, allocations: 196.2 kB / 21.4 MB, free: 1.629 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.531/1.531, allocations: 225.6 MB / 249.8 MB, free: 3.742 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.001699/0.001699, allocations: 47.92 kB / 366.8 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1089, allocations: 52.14 MB / 419 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003831/0.1128, allocations: 2.155 MB / 421.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.114, allocations: 0.5415 MB / 421.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.1142, allocations: 4 kB / 421.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.1143, allocations: 31.72 kB / 421.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.1145, allocations: 51.48 kB / 421.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1147, allocations: 55.92 kB / 421.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.1151, allocations: 231 kB / 422 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1152, allocations: 57.64 kB / 422.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.1154, allocations: 87.72 kB / 422.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1156, allocations: 99.59 kB / 422.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.1156, allocations: 24 kB / 422.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.169e-05/0.1157, allocations: 20 kB / 422.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.1157, allocations: 51.83 kB / 422.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1158, allocations: 99.53 kB / 422.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.1162, allocations: 231.1 kB / 422.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1162, allocations: 0 / 422.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1162, allocations: 4 kB / 422.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1162, allocations: 0 / 422.7 MB, free: 8.379 MB / 350.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.0008353/0.117, allocations: 0.496 MB / 423.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1171, allocations: 8.031 kB / 423.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.1171, allocations: 24.8 kB / 423.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.1175, allocations: 216.1 kB / 423.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.1175, allocations: 16.36 kB / 423.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.1175, allocations: 16.38 kB / 423.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.1179, allocations: 185.8 kB / 423.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1179, allocations: 7.938 kB / 423.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.118, allocations: 4 kB / 423.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.118, allocations: 4 kB / 423.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.1183, allocations: 147.9 kB / 423.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.1197, allocations: 0.7431 MB / 424.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.1201, allocations: 158.5 kB / 424.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.1203, allocations: 88.83 kB / 424.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1203, allocations: 0 / 424.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1204, allocations: 38.5 kB / 424.8 MB, free: 6.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1204, allocations: 0 / 424.8 MB, free: 6.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004885/0.1209, allocations: 185.6 kB / 425 MB, free: 5.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.1209, allocations: 55.34 kB / 425.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1211, allocations: 155.1 kB / 425.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.1211, allocations: 29.7 kB / 425.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1212, allocations: 136.3 kB / 425.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.1213, allocations: 51.58 kB / 425.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.1213, allocations: 33.72 kB / 425.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1215, allocations: 318.8 kB / 425.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1216, allocations: 55.97 kB / 425.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1218, allocations: 69.69 kB / 425.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.122, allocations: 116.4 kB / 426 MB, free: 4.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.122, allocations: 3.984 kB / 426 MB, free: 4.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003569/0.1224, allocations: 185.4 kB / 426.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1224, allocations: 6.344 kB / 426.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1224, allocations: 0 / 426.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1224, allocations: 7.938 kB / 426.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.1226, allocations: 43.91 kB / 426.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1226, allocations: 0 / 426.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.1228, allocations: 19.89 kB / 426.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1228, allocations: 3.984 kB / 426.3 MB, free: 4.551 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.0001338/0.1229, allocations: 133.9 kB / 426.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.123, allocations: 11.95 kB / 426.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.123, allocations: 16.78 kB / 426.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.123, allocations: 4 kB / 426.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.123, allocations: 0 / 426.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.123, allocations: 0 / 426.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.1233, allocations: 273.4 kB / 426.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1233, allocations: 4 kB / 426.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.1236, allocations: 39.91 kB / 426.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.1236, allocations: 11.98 kB / 426.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1236, allocations: 7.875 kB / 426.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.376e-05/0.1236, allocations: 3.938 kB / 426.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1236, allocations: 0 / 426.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.1241, allocations: 299.4 kB / 427 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.1242, allocations: 85.06 kB / 427.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1242, allocations: 7.938 kB / 427.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1244, allocations: 15.98 kB / 427.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.1244, allocations: 11.92 kB / 427.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1244, allocations: 4 kB / 427.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1245, allocations: 112.8 kB / 427.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1245, allocations: 0 / 427.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.1248, allocations: 47.89 kB / 427.3 MB, free: 3.387 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.0001482/0.125, allocations: 111.7 kB / 427.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.1253, allocations: 118.4 kB / 427.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1253, allocations: 4 kB / 427.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.1254, allocations: 59.91 kB / 427.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.1257, allocations: 24.05 kB / 427.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.1269, allocations: 0.5424 MB / 428.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.1273, allocations: 0.7278 MB / 428.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.1274, allocations: 15.44 kB / 428.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1274, allocations: 0 / 428.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Templates: time 0.00439/0.1318, allocations: 2.034 MB / 431 MB, free: 15.69 MB / 366.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 7.952056809997885]