Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001225/0.001225, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.001404/0.001404, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.363/1.363, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 47.92 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2441, allocations: 53.36 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.0034/0.2475, allocations: 2.172 MB / 434.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.2485, allocations: 0.5882 MB / 434.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.918e-05/0.2486, allocations: 4 kB / 434.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.2488, allocations: 31.66 kB / 434.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.2489, allocations: 55.48 kB / 434.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.2491, allocations: 59.92 kB / 434.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.2493, allocations: 231 kB / 435.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.2495, allocations: 61.77 kB / 435.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.2497, allocations: 87.72 kB / 435.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.2498, allocations: 99.59 kB / 435.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.2498, allocations: 20 kB / 435.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.49e-05/0.2499, allocations: 20 kB / 435.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.2499, allocations: 43.84 kB / 435.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.25, allocations: 107.6 kB / 435.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.2503, allocations: 235.5 kB / 435.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2503, allocations: 0 / 435.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2504, allocations: 0 / 435.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2504, allocations: 0 / 435.7 MB, free: 3.035 MB / 334.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.0008047/0.2512, allocations: 425.4 kB / 436.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2512, allocations: 19.91 kB / 436.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.103e-05/0.2512, allocations: 8.172 kB / 436.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.2513, allocations: 50.73 kB / 436.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.2513, allocations: 20.84 kB / 436.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.2516, allocations: 172 kB / 436.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.2517, allocations: 12.38 kB / 436.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.2517, allocations: 16.38 kB / 436.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.2521, allocations: 185.5 kB / 436.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.2521, allocations: 0 / 436.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.2521, allocations: 8 kB / 436.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2521, allocations: 8 kB / 436.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.2524, allocations: 135.9 kB / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.2536, allocations: 0.7032 MB / 437.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.254, allocations: 150.6 kB / 437.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.2542, allocations: 84.83 kB / 437.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.2542, allocations: 7.984 kB / 437.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2542, allocations: 30.56 kB / 437.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.2542, allocations: 0 / 437.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004619/0.2547, allocations: 201.6 kB / 437.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.2547, allocations: 55.39 kB / 438 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.2549, allocations: 152 kB / 438.1 MB, free: 460 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.2549, allocations: 25.7 kB / 438.2 MB, free: 428 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.255, allocations: 136.2 kB / 438.3 MB, free: 288 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.255, allocations: 51.58 kB / 438.3 MB, free: 236 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.2551, allocations: 33.66 kB / 438.4 MB, free: 196 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2552, allocations: 326.8 kB / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.2554, allocations: 51.98 kB / 438.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.2555, allocations: 76.77 kB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.2558, allocations: 121.6 kB / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2558, allocations: 0 / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003322/0.2561, allocations: 180.3 kB / 439.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2561, allocations: 11.92 kB / 439.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2561, allocations: 3.938 kB / 439.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2561, allocations: 0 / 439.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2564, allocations: 39.98 kB / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2564, allocations: 0 / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.864e-05/0.2565, allocations: 19.88 kB / 439.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.2565, allocations: 4 kB / 439.2 MB, free: 15.35 MB / 350.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.0001042/0.2566, allocations: 129.8 kB / 439.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.2566, allocations: 19.84 kB / 439.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.2567, allocations: 20.77 kB / 439.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2567, allocations: 4 kB / 439.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2567, allocations: 0 / 439.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2567, allocations: 0 / 439.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.257, allocations: 232.6 kB / 439.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.257, allocations: 0 / 439.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.2572, allocations: 35.98 kB / 439.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.2572, allocations: 15.92 kB / 439.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2572, allocations: 0 / 439.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.2572, allocations: 3.984 kB / 439.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2572, allocations: 0 / 439.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.2576, allocations: 303.2 kB / 439.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.2577, allocations: 15.91 kB / 440 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.2577, allocations: 11.94 kB / 440 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.2578, allocations: 12.03 kB / 440 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.2579, allocations: 7.984 kB / 440 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2579, allocations: 7.938 kB / 440 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.398e-05/0.258, allocations: 116.8 kB / 440.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.258, allocations: 0 / 440.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.2582, allocations: 47.89 kB / 440.2 MB, free: 14.32 MB / 350.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.000769/0.259, allocations: 0.8372 MB / 441 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.2593, allocations: 119.9 kB / 441.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2593, allocations: 4.062 kB / 441.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.2594, allocations: 59.92 kB / 441.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.2598, allocations: 27.98 kB / 441.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.2623, allocations: 2.052 MB / 443.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.2627, allocations: 0.7278 MB / 444 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.028e-05/0.2627, allocations: 13.42 kB / 444 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.2628, allocations: 47.42 kB / 444 MB, free: 10.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2628, allocations: 0 / 444 MB, free: 10.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.2871, allocations: 3.635 MB / 447.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.72, allocations: 16.02 kB / 447.7 MB, free: 6.82 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --stepSize=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[6013]=3000.000000 File[100002]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.587563613022212]