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.001509/0.001509, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.001486/0.001486, allocations: 216.7 kB / 24.5 MB, free: 4.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.555/1.555, allocations: 207.6 MB / 235.3 MB, free: 10.01 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [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.002131/0.002131, allocations: 51.92 kB / 347.2 MB, free: 9.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3671, allocations: 49.15 MB / 396.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003534/0.3706, allocations: 2.143 MB / 398.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3718, allocations: 0.5853 MB / 399.1 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.372, allocations: 7.344 kB / 399.1 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.3721, allocations: 33.19 kB / 399.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.3723, allocations: 53.33 kB / 399.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.3725, allocations: 52.08 kB / 399.3 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.3728, allocations: 239.3 kB / 399.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.373, allocations: 58.06 kB / 399.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.3732, allocations: 99.62 kB / 399.7 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.3733, allocations: 95.58 kB / 399.7 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.3734, allocations: 21.09 kB / 399.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.359e-05/0.3734, allocations: 21.12 kB / 399.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.3735, allocations: 46.5 kB / 399.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.3736, allocations: 96.92 kB / 399.9 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.3739, allocations: 241.5 kB / 400.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3739, allocations: 0 / 400.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3739, allocations: 0 / 400.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.3739, allocations: 1.312 kB / 400.2 MB, free: 6.574 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.0007879/0.3747, allocations: 427.6 kB / 400.6 MB, free: 6.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3748, allocations: 13.08 kB / 400.6 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.429e-05/0.3748, allocations: 54.59 kB / 400.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.3749, allocations: 19.62 kB / 400.7 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.3752, allocations: 167 kB / 400.8 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.3752, allocations: 16.06 kB / 400.8 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.3753, allocations: 19.64 kB / 400.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.3756, allocations: 179.8 kB / 401 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3756, allocations: 0 / 401 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.3757, allocations: 6.531 kB / 401 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3757, allocations: 4.25 kB / 401 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.376, allocations: 142.5 kB / 401.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.3773, allocations: 0.6992 MB / 401.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.3777, allocations: 154.5 kB / 402 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.3779, allocations: 82.67 kB / 402.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.378, allocations: 2.625 kB / 402.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.378, allocations: 36.55 kB / 402.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.378, allocations: 4 kB / 402.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000483/0.3785, allocations: 187.7 kB / 402.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.3785, allocations: 61.23 kB / 402.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.3786, allocations: 154.8 kB / 402.6 MB, free: 4.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3786, allocations: 30.89 kB / 402.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.3787, allocations: 135.8 kB / 402.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.3787, allocations: 49.92 kB / 402.8 MB, free: 4.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.3788, allocations: 38.14 kB / 402.8 MB, free: 4.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.307e-05/0.3788, allocations: 321.5 kB / 403.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.379, allocations: 54.41 kB / 403.2 MB, free: 4.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.3791, allocations: 75.61 kB / 403.2 MB, free: 4.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.3793, allocations: 123.7 kB / 403.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3793, allocations: 1.594 kB / 403.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003308/0.3797, allocations: 179.1 kB / 403.5 MB, free: 4.164 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3797, allocations: 5.188 kB / 403.5 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3797, allocations: 5.375 kB / 403.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.3797, allocations: 3.625 kB / 403.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.3799, allocations: 43.5 kB / 403.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.38, allocations: 4.859 kB / 403.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3801, allocations: 20.98 kB / 403.6 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3801, allocations: 4.125 kB / 403.6 MB, free: 4.137 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.346e-05/0.3802, allocations: 128.7 kB / 403.8 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.3802, allocations: 13.59 kB / 403.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.3802, allocations: 20.16 kB / 403.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3802, allocations: 1.094 kB / 403.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3802, allocations: 0 / 403.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3802, allocations: 3.484 kB / 403.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.3805, allocations: 241.1 kB / 404 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3805, allocations: 0 / 404 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.3807, allocations: 38.78 kB / 404.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3807, allocations: 1.562 kB / 404.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3807, allocations: 9.562 kB / 404.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3807, allocations: 0 / 404.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3808, allocations: 0 / 404.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.3812, allocations: 304.5 kB / 404.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.3812, allocations: 12.73 kB / 404.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.3813, allocations: 9.797 kB / 404.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3814, allocations: 11.86 kB / 404.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.3815, allocations: 11.38 kB / 404.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3815, allocations: 6.125 kB / 404.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.418e-05/0.3816, allocations: 115.1 kB / 404.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3816, allocations: 4 kB / 404.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.3818, allocations: 47.67 kB / 404.6 MB, free: 3.445 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.000632/0.3825, allocations: 0.8364 MB / 405.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.3828, allocations: 122.3 kB / 405.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3828, allocations: 0 / 405.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.383, allocations: 62.45 kB / 405.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.3833, allocations: 26.16 kB / 405.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.3858, allocations: 2.056 MB / 407.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.386, allocations: 0.7243 MB / 408.4 MB, free: 356 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.968e-05/0.3861, allocations: 13.92 kB / 408.4 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.802e-05/0.3862, allocations: 48.61 kB / 408.5 MB, free: 316 kB / 318.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3862, allocations: 0 / 408.5 MB, free: 316 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.4212, allocations: 3.596 MB / 412.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.35, allocations: 7.891 kB / 412.1 MB, free: 15.06 MB / 334.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv --start-time 0 --stop-time 50000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv","/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:time,C1.v,C2.v,L.i [Calling sys.exit(0), Time elapsed: 17.060583694001252]