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.001921/0.001921, allocations: 113.1 kB / 21.93 MB, free: 5.223 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.002254/0.002254, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.497/1.497, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.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.002056/0.002056, allocations: 62.67 kB / 348.5 MB, free: 9.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3097, allocations: 49.14 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003284/0.313, allocations: 1.998 MB / 399.6 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009267/0.3139, allocations: 0.5497 MB / 400.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.314, allocations: 3.844 kB / 400.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.3142, allocations: 36.75 kB / 400.2 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.981e-05/0.3143, allocations: 49.5 kB / 400.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.3145, allocations: 60.12 kB / 400.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.3148, allocations: 238.5 kB / 400.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.315, allocations: 63.23 kB / 400.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.3151, allocations: 91.41 kB / 400.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.3152, allocations: 83.41 kB / 400.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.3153, allocations: 21.03 kB / 400.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.06e-05/0.3153, allocations: 21.16 kB / 400.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.449e-05/0.3154, allocations: 45.98 kB / 400.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.364e-05/0.3155, allocations: 85.12 kB / 401 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.3158, allocations: 236.3 kB / 401.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3158, allocations: 1.438 kB / 401.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3158, allocations: 0 / 401.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.3158, allocations: 8.594 kB / 401.2 MB, free: 7.16 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.0007454/0.3165, allocations: 427.1 kB / 401.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3166, allocations: 14.36 kB / 401.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.3166, allocations: 18.62 kB / 401.7 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.3169, allocations: 164 kB / 401.8 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3169, allocations: 11.22 kB / 401.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.317, allocations: 24.44 kB / 401.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.3173, allocations: 227.8 kB / 402.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3173, allocations: 3.938 kB / 402.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.3174, allocations: 10.75 kB / 402.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3174, allocations: 3.781 kB / 402.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.3177, allocations: 138 kB / 402.2 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.3188, allocations: 0.6261 MB / 402.9 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.3191, allocations: 150.5 kB / 403 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.3193, allocations: 87.02 kB / 403.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3193, allocations: 9.422 kB / 403.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.3193, allocations: 34.33 kB / 403.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.3193, allocations: 0 / 403.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004543/0.3198, allocations: 195.5 kB / 403.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.3198, allocations: 52.97 kB / 403.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3199, allocations: 147.4 kB / 403.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.32, allocations: 30.86 kB / 403.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.32, allocations: 143 kB / 403.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.32, allocations: 47.73 kB / 403.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.3201, allocations: 30.62 kB / 403.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.3201, allocations: 326.7 kB / 404.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.3203, allocations: 48.78 kB / 404.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.3204, allocations: 77.02 kB / 404.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.3206, allocations: 126.6 kB / 404.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3206, allocations: 1.312 kB / 404.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003159/0.3209, allocations: 176.3 kB / 404.5 MB, free: 4.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.321, allocations: 4.844 kB / 404.5 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.321, allocations: 4.969 kB / 404.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.321, allocations: 2.594 kB / 404.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.3212, allocations: 42.22 kB / 404.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3212, allocations: 2.094 kB / 404.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.3213, allocations: 22.72 kB / 404.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.3213, allocations: 8.25 kB / 404.6 MB, free: 4.762 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 7.939e-05/0.3214, allocations: 126.2 kB / 404.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.3215, allocations: 9.297 kB / 404.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.3215, allocations: 20.83 kB / 404.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3215, allocations: 2.375 kB / 404.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3215, allocations: 0 / 404.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3215, allocations: 4.875 kB / 404.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.3217, allocations: 188 kB / 404.9 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3217, allocations: 0.9844 kB / 404.9 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.3219, allocations: 42.42 kB / 405 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3219, allocations: 1.156 kB / 405 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3219, allocations: 2.281 kB / 405 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3219, allocations: 1 kB / 405 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3219, allocations: 0 / 405 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.3223, allocations: 307.3 kB / 405.3 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.3224, allocations: 12.25 kB / 405.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3224, allocations: 4.156 kB / 405.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.3225, allocations: 22.73 kB / 405.3 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.3226, allocations: 6.625 kB / 405.3 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3226, allocations: 2.938 kB / 405.3 MB, free: 4.219 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.328e-05/0.3227, allocations: 120.5 kB / 405.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3227, allocations: 0 / 405.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.3229, allocations: 47.8 kB / 405.5 MB, free: 4.113 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 8.327e-05/0.323, allocations: 101.8 kB / 405.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.3233, allocations: 119.1 kB / 405.7 MB, free: 3.984 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3233, allocations: 0 / 405.7 MB, free: 3.984 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.3234, allocations: 54.06 kB / 405.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.3238, allocations: 21.23 kB / 405.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009229/0.3247, allocations: 0.5504 MB / 406.3 MB, free: 3.559 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.76e-05/0.3248, allocations: 114 kB / 406.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.3248, allocations: 14.31 kB / 406.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3248, allocations: 0 / 406.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of Templates: time 0.004416/0.3293, allocations: 2.045 MB / 408.5 MB, free: 3.207 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 -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.v,C2.v,L.i,time [Calling sys.exit(0), Time elapsed: 8.379897055216134]