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.001797/0.001797, allocations: 80.41 kB / 20.68 MB, free: 1.023 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.002065/0.002065, allocations: 147 kB / 23.94 MB, free: 4.168 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.45/1.45, allocations: 173.4 MB / 200.4 MB, free: 12.86 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 1.473e-06/1.473e-06, allocations: 0 / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.501e-05, allocations: 3.312 kB / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002728/0.002753, allocations: 2.012 MB / 321 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.003633, allocations: 0.5248 MB / 321.5 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.003741, allocations: 2.625 kB / 321.5 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.00389, allocations: 33.02 kB / 321.5 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.003999, allocations: 53.2 kB / 321.6 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.004207, allocations: 52.19 kB / 321.6 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.004484, allocations: 243.6 kB / 321.9 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.00468, allocations: 58.83 kB / 321.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.00487, allocations: 131.7 kB / 322 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.00504, allocations: 72.78 kB / 322.1 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.005106, allocations: 20.84 kB / 322.1 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.812e-05/0.005154, allocations: 20.84 kB / 322.1 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.005205, allocations: 46.23 kB / 322.2 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.005316, allocations: 76.34 kB / 322.3 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.005669, allocations: 245.3 kB / 322.5 MB, free: 1.316 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.005672, allocations: 3.938 kB / 322.5 MB, free: 1.312 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.005675, allocations: 0.6562 kB / 322.5 MB, free: 1.312 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.005681, allocations: 5.125 kB / 322.5 MB, free: 1.309 MB / 286.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.0007957/0.006477, allocations: 417.1 kB / 322.9 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.006529, allocations: 10.88 kB / 322.9 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.006603, allocations: 23.39 kB / 323 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.006858, allocations: 166 kB / 323.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.006881, allocations: 14.72 kB / 323.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.006925, allocations: 20.5 kB / 323.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.007349, allocations: 231.6 kB / 323.4 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.007362, allocations: 192 / 323.4 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.007389, allocations: 15.25 kB / 323.4 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.007401, allocations: 8.062 kB / 323.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.007766, allocations: 137.9 kB / 323.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.009021, allocations: 0.6261 MB / 324.2 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.00941, allocations: 150.3 kB / 324.3 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.009586, allocations: 92.06 kB / 324.4 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.009599, allocations: 1.375 kB / 324.4 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.571e-05/0.009655, allocations: 37.86 kB / 324.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.009656, allocations: 0 / 324.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005141/0.01017, allocations: 182.1 kB / 324.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.01023, allocations: 54.72 kB / 324.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.01041, allocations: 149.7 kB / 324.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.01044, allocations: 35.08 kB / 324.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.01054, allocations: 135.7 kB / 325 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.0106, allocations: 57.2 kB / 325 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.01067, allocations: 30.92 kB / 325.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.01084, allocations: 325.5 kB / 325.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.01097, allocations: 50.72 kB / 325.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.01112, allocations: 79.66 kB / 325.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.01138, allocations: 126.8 kB / 325.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01138, allocations: 0 / 325.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003716/0.01175, allocations: 172.1 kB / 325.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.01177, allocations: 6.781 kB / 325.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01178, allocations: 0.7969 kB / 325.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.0118, allocations: 1.469 kB / 325.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.01204, allocations: 42.45 kB / 325.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.01205, allocations: 2.266 kB / 325.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.01215, allocations: 14.36 kB / 325.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.01216, allocations: 3.875 kB / 325.9 MB, free: 14.93 MB / 302.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.0001354/0.0123, allocations: 138.1 kB / 326 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.01235, allocations: 15.11 kB / 326 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.01239, allocations: 15.73 kB / 326 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.0124, allocations: 2.594 kB / 326 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.0124, allocations: 0 / 326 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.01241, allocations: 0.75 kB / 326 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.0127, allocations: 180.4 kB / 326.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.0127, allocations: 0 / 326.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.01294, allocations: 43.58 kB / 326.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01294, allocations: 1.031 kB / 326.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01295, allocations: 1.906 kB / 326.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01296, allocations: 5.125 kB / 326.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01296, allocations: 0 / 326.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.01349, allocations: 313.3 kB / 326.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.01351, allocations: 7.531 kB / 326.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.01354, allocations: 10.62 kB / 326.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.01369, allocations: 15.03 kB / 326.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.01374, allocations: 11.38 kB / 326.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.01375, allocations: 3.062 kB / 326.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.488e-05/0.01384, allocations: 114.7 kB / 326.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01384, allocations: 0 / 326.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.01411, allocations: 48.91 kB / 326.8 MB, free: 14.29 MB / 302.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.0001124/0.01422, allocations: 99.02 kB / 326.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.01454, allocations: 119.3 kB / 327 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01454, allocations: 0 / 327 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.01468, allocations: 58.34 kB / 327.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.01499, allocations: 31.67 kB / 327.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.01596, allocations: 439.3 kB / 327.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.0161, allocations: 114 kB / 327.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.525e-05/0.01616, allocations: 12.39 kB / 327.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.01621, allocations: 19.53 kB / 327.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01621, allocations: 0 / 327.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of Templates: time 0.005112/0.02133, allocations: 1.541 MB / 329.2 MB, free: 13.53 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/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.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.092626493424177]