Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001271/0.001271, allocations: 84.2 kB / 21.99 MB, free: 4.754 MB / 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.001307/0.001307, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 158.6 MB / 187 MB, free: 5.887 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 52.39 kB / 299.4 MB, free: 6.789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2482, allocations: 49.14 MB / 348.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003376/0.2515, allocations: 1.998 MB / 350.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.2526, allocations: 0.5581 MB / 351.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.2527, allocations: 4 kB / 351.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.2528, allocations: 31.66 kB / 351.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.2529, allocations: 51.55 kB / 351.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.2532, allocations: 67.86 kB / 351.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.2535, allocations: 234.9 kB / 351.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.2536, allocations: 61.41 kB / 351.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.2538, allocations: 83.78 kB / 351.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.2539, allocations: 87.55 kB / 351.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.131e-05/0.254, allocations: 20 kB / 351.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.094e-05/0.254, allocations: 20 kB / 351.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.2541, allocations: 43.84 kB / 351.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.2542, allocations: 87.64 kB / 351.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.2545, allocations: 237.8 kB / 352.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2545, allocations: 4 kB / 352.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2545, allocations: 0 / 352.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.2545, allocations: 4 kB / 352.1 MB, free: 11.9 MB / 318.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.0007614/0.2552, allocations: 421.4 kB / 352.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2553, allocations: 11.98 kB / 352.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.2553, allocations: 20.84 kB / 352.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.2556, allocations: 174.1 kB / 352.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.2557, allocations: 12.38 kB / 352.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.2557, allocations: 20.38 kB / 352.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.2561, allocations: 229.3 kB / 353 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2561, allocations: 0 / 353 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.2561, allocations: 4 kB / 353 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2561, allocations: 7.938 kB / 353 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.2565, allocations: 147.8 kB / 353.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.2576, allocations: 0.6185 MB / 353.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.258, allocations: 154.5 kB / 353.9 MB, free: 9.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.2582, allocations: 88.81 kB / 354 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.2582, allocations: 4 kB / 354 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.2583, allocations: 34.5 kB / 354.1 MB, free: 9.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.2583, allocations: 0 / 354.1 MB, free: 9.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004958/0.2588, allocations: 185.8 kB / 354.2 MB, free: 9.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.2588, allocations: 59.41 kB / 354.3 MB, free: 9.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.259, allocations: 142.1 kB / 354.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.259, allocations: 33.7 kB / 354.5 MB, free: 9.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.684e-05/0.2591, allocations: 140.2 kB / 354.6 MB, free: 9.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.2591, allocations: 47.59 kB / 354.6 MB, free: 9.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.2592, allocations: 33.7 kB / 354.7 MB, free: 9.164 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2593, allocations: 322.8 kB / 355 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.2595, allocations: 47.97 kB / 355 MB, free: 8.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.2596, allocations: 81.62 kB / 355.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.2599, allocations: 125.6 kB / 355.2 MB, free: 8.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2599, allocations: 0 / 355.2 MB, free: 8.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003539/0.2602, allocations: 177.4 kB / 355.4 MB, free: 8.398 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2603, allocations: 8 kB / 355.4 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2603, allocations: 0 / 355.4 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2603, allocations: 3.938 kB / 355.4 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.2605, allocations: 39.97 kB / 355.5 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.2605, allocations: 8.031 kB / 355.5 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2606, allocations: 19.83 kB / 355.5 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.2606, allocations: 4 kB / 355.5 MB, free: 8.316 MB / 318.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.0001235/0.2608, allocations: 129.8 kB / 355.6 MB, free: 8.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.2608, allocations: 7.953 kB / 355.6 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.2608, allocations: 20.77 kB / 355.7 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2609, allocations: 0 / 355.7 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2609, allocations: 0 / 355.7 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.2609, allocations: 7.938 kB / 355.7 MB, free: 8.141 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.2611, allocations: 185.1 kB / 355.8 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2611, allocations: 11.98 kB / 355.9 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.2613, allocations: 35.98 kB / 355.9 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2613, allocations: 0 / 355.9 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.2614, allocations: 4 kB / 355.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2614, allocations: 3.938 kB / 355.9 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2614, allocations: 0 / 355.9 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.2619, allocations: 299.4 kB / 356.2 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.2619, allocations: 15.91 kB / 356.2 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.2619, allocations: 4 kB / 356.2 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.2621, allocations: 12.03 kB / 356.2 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.2621, allocations: 16.06 kB / 356.2 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.2621, allocations: 4 kB / 356.2 MB, free: 7.516 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.2622, allocations: 116.2 kB / 356.4 MB, free: 7.402 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2622, allocations: 0 / 356.4 MB, free: 7.402 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00028/0.2625, allocations: 47.89 kB / 356.4 MB, free: 7.355 MB / 318.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.0001163/0.2626, allocations: 103.2 kB / 356.5 MB, free: 7.246 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003149/0.2629, allocations: 120.5 kB / 356.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2629, allocations: 0 / 356.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.2631, allocations: 55.97 kB / 356.7 MB, free: 7.074 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2634, allocations: 16 kB / 356.7 MB, free: 7.059 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.2644, allocations: 0.5187 MB / 357.2 MB, free: 6.512 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.2645, allocations: 112.1 kB / 357.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.2646, allocations: 9.141 kB / 357.3 MB, free: 6.379 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.2646, allocations: 20.44 kB / 357.3 MB, free: 6.355 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2646, allocations: 0 / 357.3 MB, free: 6.355 MB / 318.1 MB Notification: Performance of Templates: time 0.005002/0.2696, allocations: 1.556 MB / 358.9 MB, free: 4.793 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.C,C1.v,C2.C,C2.v,G.G,G.T,G.T_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_ref,Ro.alpha,time [Calling sys.exit(0), Time elapsed: 5.091232484905049]