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.001215/0.001215, allocations: 107.5 kB / 21.21 MB, free: 0.6523 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.001407/0.001407, allocations: 212.5 kB / 24.51 MB, free: 3.941 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.375/1.375, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.001437/0.001437, allocations: 47.88 kB / 378.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2393, allocations: 53.36 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003164/0.2425, allocations: 2.032 MB / 433.9 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009142/0.2434, allocations: 0.5532 MB / 434.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.183e-05/0.2435, allocations: 4 kB / 434.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.2436, allocations: 27.7 kB / 434.5 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.2437, allocations: 55.48 kB / 434.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.2439, allocations: 63.86 kB / 434.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.2441, allocations: 231 kB / 434.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.2443, allocations: 63.88 kB / 434.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.2444, allocations: 87.7 kB / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.2445, allocations: 95.61 kB / 435.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.2446, allocations: 24 kB / 435.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.714e-05/0.2446, allocations: 20 kB / 435.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.2447, allocations: 39.91 kB / 435.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.383e-05/0.2448, allocations: 91.58 kB / 435.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.245, allocations: 235.1 kB / 435.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.245, allocations: 4 kB / 435.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.245, allocations: 3.938 kB / 435.5 MB, free: 3.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.245, allocations: 0 / 435.5 MB, free: 3.02 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.0007019/0.2457, allocations: 425.5 kB / 435.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2458, allocations: 12.03 kB / 435.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.514e-05/0.2458, allocations: 4.188 kB / 435.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.542e-05/0.2459, allocations: 54.73 kB / 436 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.2459, allocations: 20.8 kB / 436 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.2462, allocations: 178.1 kB / 436.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2462, allocations: 12.38 kB / 436.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.2462, allocations: 20.38 kB / 436.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.2466, allocations: 228.9 kB / 436.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2466, allocations: 0 / 436.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.2466, allocations: 12 kB / 436.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2467, allocations: 4 kB / 436.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.247, allocations: 147.8 kB / 436.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.2481, allocations: 0.6565 MB / 437.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.2485, allocations: 150.5 kB / 437.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.2486, allocations: 80.83 kB / 437.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.2486, allocations: 4 kB / 437.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.2487, allocations: 38.5 kB / 437.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.2487, allocations: 0 / 437.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004622/0.2491, allocations: 197 kB / 437.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.2492, allocations: 51.41 kB / 437.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.2493, allocations: 164.7 kB / 437.9 MB, free: 420 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.2494, allocations: 29.64 kB / 437.9 MB, free: 384 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.2494, allocations: 136.3 kB / 438.1 MB, free: 244 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.2495, allocations: 47.62 kB / 438.1 MB, free: 196 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.2495, allocations: 29.72 kB / 438.1 MB, free: 160 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2497, allocations: 326.8 kB / 438.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.2498, allocations: 51.92 kB / 438.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.25, allocations: 76.2 kB / 438.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.2502, allocations: 121.7 kB / 438.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2502, allocations: 3.984 kB / 438.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003254/0.2505, allocations: 171.6 kB / 438.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2505, allocations: 11.94 kB / 438.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2506, allocations: 0 / 438.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2506, allocations: 8.016 kB / 438.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.2508, allocations: 43.97 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2508, allocations: 4 kB / 438.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.582e-05/0.2509, allocations: 11.89 kB / 438.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.2509, allocations: 8 kB / 439 MB, free: 15.31 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.0001065/0.251, allocations: 129.8 kB / 439.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.251, allocations: 15.84 kB / 439.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.2511, allocations: 16.78 kB / 439.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2511, allocations: 0 / 439.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2511, allocations: 8 kB / 439.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2511, allocations: 0 / 439.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.2514, allocations: 224.6 kB / 439.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2514, allocations: 0 / 439.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.2516, allocations: 31.98 kB / 439.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2516, allocations: 3.938 kB / 439.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.2516, allocations: 11.98 kB / 439.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2516, allocations: 3.938 kB / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2516, allocations: 0 / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.2521, allocations: 301.8 kB / 439.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.2521, allocations: 11.91 kB / 439.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.2521, allocations: 11.88 kB / 439.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.2522, allocations: 12.03 kB / 439.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.2523, allocations: 11.98 kB / 439.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.2523, allocations: 4 kB / 439.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.926e-05/0.2524, allocations: 115.2 kB / 439.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2524, allocations: 0 / 439.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.2527, allocations: 51.89 kB / 439.9 MB, free: 14.3 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.0007181/0.2534, allocations: 0.8333 MB / 440.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.2537, allocations: 126.7 kB / 440.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2537, allocations: 0 / 440.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.2538, allocations: 55.92 kB / 440.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.2541, allocations: 24.05 kB / 440.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.2566, allocations: 2.067 MB / 443 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.2568, allocations: 107.9 kB / 443.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.815e-05/0.2568, allocations: 21.41 kB / 443.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.305e-05/0.2569, allocations: 43.42 kB / 443.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2569, allocations: 4.094 kB / 443.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.2824, allocations: 3.754 MB / 446.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.93, allocations: 11.25 kB / 446.9 MB, free: 7.312 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.815789081971161]