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.001928/0.001928, allocations: 120.2 kB / 21.94 MB, free: 8 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.002504/0.002504, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.574/1.574, allocations: 207.6 MB / 236 MB, free: 9.98 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.001825/0.001825, allocations: 55.92 kB / 348.5 MB, free: 9.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3157, allocations: 49.15 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003889/0.3196, allocations: 2.142 MB / 399.8 MB, free: 7.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3207, allocations: 0.5862 MB / 400.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.3208, allocations: 6.5 kB / 400.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.321, allocations: 30.72 kB / 400.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.3211, allocations: 52.14 kB / 400.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.3214, allocations: 56.84 kB / 400.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.3217, allocations: 238.3 kB / 400.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.3219, allocations: 66.86 kB / 400.8 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.322, allocations: 83.05 kB / 400.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.3222, allocations: 95.92 kB / 401 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.3222, allocations: 25.59 kB / 401 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.749e-05/0.3223, allocations: 21.03 kB / 401 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.3223, allocations: 49.45 kB / 401.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.3225, allocations: 105 kB / 401.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.3228, allocations: 234.2 kB / 401.4 MB, free: 7.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3228, allocations: 0 / 401.4 MB, free: 7.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3228, allocations: 0 / 401.4 MB, free: 7.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.3228, allocations: 0.9375 kB / 401.4 MB, free: 7.062 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.0007692/0.3236, allocations: 431.3 kB / 401.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3236, allocations: 13.78 kB / 401.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.3237, allocations: 23.62 kB / 401.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.324, allocations: 158.3 kB / 402 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.324, allocations: 20.44 kB / 402.1 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.3241, allocations: 16.83 kB / 402.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.3245, allocations: 183.8 kB / 402.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3245, allocations: 0 / 402.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.3245, allocations: 5.438 kB / 402.3 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.3245, allocations: 4.438 kB / 402.3 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.3248, allocations: 143.2 kB / 402.4 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.326, allocations: 0.6985 MB / 403.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.3264, allocations: 153.8 kB / 403.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.3266, allocations: 92.3 kB / 403.3 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3266, allocations: 2.125 kB / 403.3 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.3266, allocations: 36.41 kB / 403.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.3266, allocations: 0 / 403.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004872/0.3271, allocations: 190.9 kB / 403.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.3272, allocations: 61.62 kB / 403.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3273, allocations: 147.2 kB / 403.8 MB, free: 5.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3273, allocations: 25.7 kB / 403.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.3274, allocations: 143.4 kB / 403.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.3274, allocations: 47.86 kB / 404 MB, free: 5.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.3275, allocations: 35.2 kB / 404 MB, free: 5.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.3276, allocations: 325.2 kB / 404.3 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.3277, allocations: 51.55 kB / 404.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.3278, allocations: 74.72 kB / 404.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.3281, allocations: 117.9 kB / 404.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3281, allocations: 1.125 kB / 404.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003174/0.3284, allocations: 184.3 kB / 404.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3284, allocations: 5.812 kB / 404.8 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3284, allocations: 0 / 404.8 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3284, allocations: 6.375 kB / 404.8 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.3287, allocations: 44.47 kB / 404.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3287, allocations: 2.406 kB / 404.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.944e-05/0.3288, allocations: 16.48 kB / 404.8 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.3288, allocations: 3.531 kB / 404.8 MB, free: 4.684 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 8.736e-05/0.3289, allocations: 133.4 kB / 405 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.3289, allocations: 14.16 kB / 405 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.3289, allocations: 18.94 kB / 405 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3289, allocations: 1.156 kB / 405 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.329, allocations: 1.469 kB / 405 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.329, allocations: 3 kB / 405 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.3292, allocations: 237.9 kB / 405.2 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3292, allocations: 0 / 405.2 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.3294, allocations: 40.02 kB / 405.3 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3294, allocations: 5.031 kB / 405.3 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3295, allocations: 9.719 kB / 405.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3295, allocations: 0 / 405.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3295, allocations: 1.703 kB / 405.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.3299, allocations: 299.8 kB / 405.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.3299, allocations: 22.12 kB / 405.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.33, allocations: 5.828 kB / 405.6 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.3301, allocations: 14.8 kB / 405.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.3302, allocations: 6.781 kB / 405.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.3302, allocations: 4.016 kB / 405.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.316e-05/0.3302, allocations: 115.3 kB / 405.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3302, allocations: 3.938 kB / 405.7 MB, free: 4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.3305, allocations: 47.92 kB / 405.8 MB, free: 3.988 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 9.786e-05/0.3306, allocations: 102.9 kB / 405.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.3309, allocations: 114.1 kB / 406 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3309, allocations: 0 / 406 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3311, allocations: 63.8 kB / 406.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3314, allocations: 26.11 kB / 406.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009821/0.3324, allocations: 0.5503 MB / 406.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.3326, allocations: 0.724 MB / 407.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.3326, allocations: 15.66 kB / 407.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3326, allocations: 0 / 407.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of Templates: time 0.004581/0.3372, allocations: 2.044 MB / 409.4 MB, free: 2.395 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.999548084102571]