Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 169.1 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 177.2 MB / 204.9 MB, free: 9.051 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 51.34 kB / 325.6 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09869, allocations: 53.35 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003646/0.1023, allocations: 2.034 MB / 380.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1035, allocations: 0.5455 MB / 381.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.1036, allocations: 11.88 kB / 381.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.1038, allocations: 31.7 kB / 381.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1039, allocations: 59.48 kB / 381.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.1041, allocations: 51.94 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.1044, allocations: 235 kB / 381.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.1046, allocations: 57.77 kB / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.1047, allocations: 87.7 kB / 382 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.1049, allocations: 87.55 kB / 382.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.486e-05/0.105, allocations: 20 kB / 382.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.142e-05/0.105, allocations: 20 kB / 382.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.105, allocations: 47.89 kB / 382.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1052, allocations: 83.66 kB / 382.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1055, allocations: 239 kB / 382.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1055, allocations: 0 / 382.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1055, allocations: 0 / 382.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1055, allocations: 4 kB / 382.5 MB, free: 12.08 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.0008311/0.1063, allocations: 417.5 kB / 382.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1063, allocations: 11.97 kB / 382.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.1064, allocations: 24.8 kB / 382.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.1067, allocations: 166.2 kB / 383.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.1068, allocations: 12.38 kB / 383.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.1068, allocations: 28.31 kB / 383.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.1072, allocations: 229.3 kB / 383.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1072, allocations: 0 / 383.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.1073, allocations: 8 kB / 383.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1073, allocations: 4 kB / 383.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.1076, allocations: 139.9 kB / 383.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.1088, allocations: 0.6263 MB / 384.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.1093, allocations: 150.5 kB / 384.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.1095, allocations: 92.81 kB / 384.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.1095, allocations: 0 / 384.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1095, allocations: 34.56 kB / 384.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.1095, allocations: 0 / 384.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004874/0.11, allocations: 177.8 kB / 384.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.1101, allocations: 63.34 kB / 384.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.1102, allocations: 146 kB / 384.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1102, allocations: 33.7 kB / 384.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.1103, allocations: 136.2 kB / 385 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.1104, allocations: 55.53 kB / 385 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.1104, allocations: 29.7 kB / 385 MB, free: 9.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1106, allocations: 330.7 kB / 385.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1107, allocations: 47.98 kB / 385.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.1109, allocations: 76.59 kB / 385.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.1111, allocations: 125.7 kB / 385.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1111, allocations: 0 / 385.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003758/0.1115, allocations: 180.7 kB / 385.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1115, allocations: 4 kB / 385.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1115, allocations: 3.984 kB / 385.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1115, allocations: 4 kB / 385.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.1118, allocations: 39.92 kB / 385.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1118, allocations: 0 / 385.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1119, allocations: 23.89 kB / 385.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1119, allocations: 4 kB / 385.9 MB, free: 8.5 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.0001153/0.112, allocations: 125.8 kB / 386 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.1121, allocations: 15.91 kB / 386 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.1121, allocations: 12.78 kB / 386 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.1121, allocations: 7.984 kB / 386 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1121, allocations: 3.984 kB / 386 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1121, allocations: 3.938 kB / 386 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.1124, allocations: 173.3 kB / 386.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1124, allocations: 0 / 386.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.1126, allocations: 47.91 kB / 386.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.1126, allocations: 4 kB / 386.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1126, allocations: 0 / 386.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1126, allocations: 0 / 386.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1126, allocations: 0 / 386.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005004/0.1131, allocations: 302.7 kB / 386.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.1131, allocations: 19.92 kB / 386.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.1132, allocations: 4 kB / 386.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.1133, allocations: 15.98 kB / 386.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.1134, allocations: 11.92 kB / 386.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1134, allocations: 4 kB / 386.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.607e-05/0.1135, allocations: 119.2 kB / 386.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1135, allocations: 3.938 kB / 386.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.1138, allocations: 47.89 kB / 386.8 MB, free: 7.543 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.000113/0.1139, allocations: 95.23 kB / 386.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.1142, allocations: 119.9 kB / 387 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1142, allocations: 4 kB / 387 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1143, allocations: 55.91 kB / 387 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.1146, allocations: 27.98 kB / 387.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.1157, allocations: 0.5107 MB / 387.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.1158, allocations: 116.1 kB / 387.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.172e-05/0.1158, allocations: 9.141 kB / 387.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.1159, allocations: 16.5 kB / 387.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1159, allocations: 0 / 387.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of Templates: time 0.004889/0.1208, allocations: 1.552 MB / 389.3 MB, free: 5.004 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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[50206]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.289147365954705]