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.001019/0.001019, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009527/0.0009527, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9018/0.9018, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.483e-06/1.483e-06, allocations: 0 / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.075e-05, allocations: 2.281 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002238/0.002259, allocations: 2.051 MB / 326.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006754/0.002934, allocations: 0.5493 MB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.003014, allocations: 4 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.003123, allocations: 39.64 kB / 327.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.728e-05/0.00319, allocations: 55.48 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.003343, allocations: 51.92 kB / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.003524, allocations: 246.8 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.003656, allocations: 53.77 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.003767, allocations: 135.8 kB / 327.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.021e-05/0.003857, allocations: 67.84 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.003888, allocations: 20 kB / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.947e-05/0.003908, allocations: 20 kB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.097e-05/0.003939, allocations: 43.83 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.003993, allocations: 83.81 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.004173, allocations: 235.2 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004175, allocations: 4 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004176, allocations: 0 / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.00418, allocations: 4 kB / 328.2 MB, free: 12.12 MB / 298.7 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.0004818/0.004662, allocations: 424.7 kB / 328.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.004698, allocations: 15.97 kB / 328.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.004737, allocations: 46.73 kB / 328.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.004773, allocations: 24.8 kB / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.004972, allocations: 172.1 kB / 328.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.004988, allocations: 12.38 kB / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.005013, allocations: 20.38 kB / 328.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.005256, allocations: 229.5 kB / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.005264, allocations: 192 / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.005281, allocations: 16.12 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.005287, allocations: 4 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.005464, allocations: 135.9 kB / 329.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000713/0.006177, allocations: 0.6609 MB / 330 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.006402, allocations: 150.5 kB / 330.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.006516, allocations: 92.75 kB / 330.2 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.006526, allocations: 0 / 330.2 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.006549, allocations: 42.5 kB / 330.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.00655, allocations: 0 / 330.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002829/0.006833, allocations: 186.8 kB / 330.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.00686, allocations: 55.41 kB / 330.5 MB, free: 9.695 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.006951, allocations: 160.9 kB / 330.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.006964, allocations: 29.7 kB / 330.7 MB, free: 9.496 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.007022, allocations: 140.2 kB / 330.8 MB, free: 9.352 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.007048, allocations: 43.64 kB / 330.8 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.007088, allocations: 37.66 kB / 330.9 MB, free: 9.266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.00716, allocations: 322.8 kB / 331.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.007479, allocations: 51.97 kB / 331.2 MB, free: 8.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.007557, allocations: 69.69 kB / 331.3 MB, free: 8.816 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.007699, allocations: 128.4 kB / 331.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007701, allocations: 4 kB / 331.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001882/0.007889, allocations: 169.5 kB / 331.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.007902, allocations: 4 kB / 331.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.007907, allocations: 0 / 331.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.007919, allocations: 4 kB / 331.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.008043, allocations: 39.92 kB / 331.7 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.008048, allocations: 7.969 kB / 331.7 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.008098, allocations: 27.83 kB / 331.7 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.008105, allocations: 4 kB / 331.7 MB, free: 8.426 MB / 298.7 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 6.744e-05/0.008173, allocations: 125.8 kB / 331.8 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.008192, allocations: 11.95 kB / 331.8 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.008216, allocations: 20.77 kB / 331.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.008218, allocations: 0 / 331.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.008223, allocations: 3.938 kB / 331.8 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.008226, allocations: 0 / 331.8 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.008388, allocations: 224.6 kB / 332.1 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.008389, allocations: 8 kB / 332.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.008495, allocations: 35.97 kB / 332.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.008496, allocations: 3.938 kB / 332.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.008505, allocations: 4 kB / 332.1 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008506, allocations: 0 / 332.1 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.008509, allocations: 11.92 kB / 332.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.00879, allocations: 303.2 kB / 332.4 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.008805, allocations: 11.91 kB / 332.4 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.008819, allocations: 4 kB / 332.4 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.008887, allocations: 16.03 kB / 332.5 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.008921, allocations: 11.92 kB / 332.5 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.008927, allocations: 4 kB / 332.5 MB, free: 7.582 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.005e-05/0.008977, allocations: 115.2 kB / 332.6 MB, free: 7.469 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008977, allocations: 3.938 kB / 332.6 MB, free: 7.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.009138, allocations: 47.89 kB / 332.6 MB, free: 7.418 MB / 298.7 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.000413/0.009551, allocations: 0.8256 MB / 333.5 MB, free: 6.562 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.009731, allocations: 119.9 kB / 333.6 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.009732, allocations: 0 / 333.6 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.608e-05/0.009799, allocations: 59.97 kB / 333.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.01002, allocations: 31.98 kB / 333.7 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.01151, allocations: 1.987 MB / 335.7 MB, free: 4.285 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.365e-05/0.01158, allocations: 104.1 kB / 335.8 MB, free: 4.164 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.687e-05/0.01162, allocations: 17.48 kB / 335.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.01169, allocations: 48.48 kB / 335.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0117, allocations: 0 / 335.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.03172, allocations: 4.214 MB / 340 MB, free: 28 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.673/6.704, allocations: 7.5 kB / 340 MB, free: 24 kB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/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[50110]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.825259130448103]