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.001799/0.001799, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002159/0.002159, allocations: 211.4 kB / 23.73 MB, free: 4.523 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.385/1.385, allocations: 230.6 MB / 257.5 MB, free: 7.793 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2561, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003419/0.2596, allocations: 2.043 MB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2607, allocations: 0.5454 MB / 433.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.2608, allocations: 0 / 433.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.261, allocations: 27.72 kB / 433.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.2611, allocations: 55.48 kB / 433.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.2613, allocations: 67.91 kB / 433.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.2616, allocations: 231 kB / 434 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.2617, allocations: 65.77 kB / 434.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2619, allocations: 83.72 kB / 434.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.262, allocations: 99.61 kB / 434.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.262, allocations: 20 kB / 434.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.353e-05/0.2621, allocations: 20 kB / 434.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.2621, allocations: 43.91 kB / 434.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.2622, allocations: 91.58 kB / 434.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.2625, allocations: 244.7 kB / 434.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2625, allocations: 3.938 kB / 434.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2625, allocations: 4 kB / 434.7 MB, free: 3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.2625, allocations: 0 / 434.7 MB, free: 3 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.0007673/0.2633, allocations: 417.5 kB / 435.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2633, allocations: 12.03 kB / 435.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.775e-05/0.2634, allocations: 50.73 kB / 435.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.2634, allocations: 24.8 kB / 435.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.2637, allocations: 174.1 kB / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.2637, allocations: 16.38 kB / 435.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.2638, allocations: 16.38 kB / 435.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.2642, allocations: 233.1 kB / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2642, allocations: 0 / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.2642, allocations: 8 kB / 435.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2642, allocations: 4 kB / 435.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.2645, allocations: 143.8 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.2656, allocations: 0.6565 MB / 436.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.266, allocations: 150.6 kB / 436.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.2662, allocations: 88.83 kB / 436.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.2662, allocations: 0 / 436.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2662, allocations: 34.56 kB / 436.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.32e-07/0.2662, allocations: 0 / 436.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004477/0.2667, allocations: 192.7 kB / 436.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.2667, allocations: 67.34 kB / 437 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.2669, allocations: 153.8 kB / 437.1 MB, free: 416 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2669, allocations: 25.7 kB / 437.1 MB, free: 384 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.267, allocations: 136.2 kB / 437.3 MB, free: 244 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.267, allocations: 47.62 kB / 437.3 MB, free: 196 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.2671, allocations: 33.67 kB / 437.3 MB, free: 156 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2672, allocations: 326.8 kB / 437.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.2674, allocations: 51.97 kB / 437.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.2675, allocations: 69.69 kB / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.2677, allocations: 125.6 kB / 437.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2677, allocations: 0 / 437.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003235/0.268, allocations: 177.5 kB / 438.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.268, allocations: 6.5 kB / 438.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2681, allocations: 3.938 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2681, allocations: 4 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.2683, allocations: 48 kB / 438.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2683, allocations: 0 / 438.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.877e-05/0.2684, allocations: 15.84 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2684, allocations: 15.92 kB / 438.2 MB, free: 15.3 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.0001051/0.2685, allocations: 125.8 kB / 438.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.2685, allocations: 11.95 kB / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.2686, allocations: 20.72 kB / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2686, allocations: 4 kB / 438.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2686, allocations: 0 / 438.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2686, allocations: 0 / 438.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.2689, allocations: 224.6 kB / 438.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2689, allocations: 0 / 438.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.2691, allocations: 43.97 kB / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2691, allocations: 0 / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2691, allocations: 3.938 kB / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2691, allocations: 0 / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2691, allocations: 0 / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.2695, allocations: 303.3 kB / 438.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.2696, allocations: 15.91 kB / 438.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.2696, allocations: 11.97 kB / 438.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.2697, allocations: 8 kB / 438.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.2698, allocations: 15.97 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2698, allocations: 96 / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.682e-05/0.2699, allocations: 118.3 kB / 439.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2699, allocations: 0 / 439.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.2701, allocations: 47.89 kB / 439.1 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.0007574/0.2709, allocations: 0.8372 MB / 439.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.2712, allocations: 119.9 kB / 440.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2712, allocations: 0 / 440.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.2713, allocations: 67.03 kB / 440.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.2716, allocations: 28.05 kB / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.2741, allocations: 2.056 MB / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.74e-05/0.2742, allocations: 107.9 kB / 442.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.163e-05/0.2743, allocations: 13.42 kB / 442.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.912e-05/0.2744, allocations: 43.42 kB / 442.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2744, allocations: 4 kB / 442.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.3046, allocations: 4.133 MB / 446.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.61, allocations: 11.2 kB / 446.5 MB, free: 6.922 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[50220]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.872041016002186]