Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001847/0.001847, allocations: 120.4 kB / 20.43 MB, free: 1.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002347/0.002347, allocations: 211.2 kB / 23.74 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 63.89 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2618, allocations: 53.4 MB / 431.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.0036/0.2654, allocations: 2.179 MB / 433.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2665, allocations: 0.5804 MB / 434 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2666, allocations: 4 kB / 434 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.2667, allocations: 35.7 kB / 434 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.889e-05/0.2668, allocations: 51.48 kB / 434 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.267, allocations: 55.94 kB / 434.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.2673, allocations: 231 kB / 434.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.2675, allocations: 61.77 kB / 434.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2676, allocations: 95.7 kB / 434.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.2677, allocations: 99.59 kB / 434.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.2678, allocations: 20 kB / 434.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.331e-05/0.2678, allocations: 20 kB / 434.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.2678, allocations: 43.84 kB / 434.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.663e-05/0.2679, allocations: 99.59 kB / 434.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.2682, allocations: 231.5 kB / 435 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2682, allocations: 0 / 435 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2682, allocations: 0 / 435 MB, free: 3.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.2682, allocations: 3.938 kB / 435 MB, free: 3.043 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.0007547/0.269, allocations: 429.4 kB / 435.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.269, allocations: 12.03 kB / 435.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/0.2691, allocations: 50.73 kB / 435.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.2691, allocations: 24.8 kB / 435.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.2694, allocations: 182.1 kB / 435.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.2695, allocations: 8.375 kB / 435.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.2695, allocations: 24.31 kB / 435.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.2699, allocations: 177.7 kB / 435.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2699, allocations: 0 / 435.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.2699, allocations: 4 kB / 435.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.2699, allocations: 8 kB / 435.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.2702, allocations: 139.9 kB / 436 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.2714, allocations: 0.6993 MB / 436.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.2718, allocations: 154.5 kB / 436.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.2719, allocations: 84.81 kB / 437 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.272, allocations: 4 kB / 437 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.272, allocations: 38.56 kB / 437 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.272, allocations: 0 / 437 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004516/0.2725, allocations: 189.7 kB / 437.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.2725, allocations: 55.34 kB / 437.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2726, allocations: 153.3 kB / 437.4 MB, free: 476 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.2727, allocations: 29.7 kB / 437.4 MB, free: 440 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.2728, allocations: 140.2 kB / 437.5 MB, free: 296 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.2728, allocations: 47.64 kB / 437.6 MB, free: 248 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.2729, allocations: 33.7 kB / 437.6 MB, free: 208 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.273, allocations: 322.8 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.2732, allocations: 55.92 kB / 438 MB, free: 15.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.2733, allocations: 72.44 kB / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.2735, allocations: 125.6 kB / 438.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2735, allocations: 0 / 438.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003297/0.2739, allocations: 176 kB / 438.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2739, allocations: 4 kB / 438.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2739, allocations: 3.938 kB / 438.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2739, allocations: 0 / 438.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.2742, allocations: 43.92 kB / 438.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2742, allocations: 8.016 kB / 438.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.814e-05/0.2743, allocations: 15.89 kB / 438.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2743, allocations: 4 kB / 438.4 MB, free: 15.37 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.0001207/0.2744, allocations: 125.8 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.2744, allocations: 19.84 kB / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.2745, allocations: 20.7 kB / 438.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2745, allocations: 4 kB / 438.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2745, allocations: 0 / 438.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2745, allocations: 4 kB / 438.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.2748, allocations: 240.6 kB / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2748, allocations: 0 / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.275, allocations: 39.91 kB / 438.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.275, allocations: 4 kB / 438.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.275, allocations: 7.938 kB / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.275, allocations: 3.984 kB / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.275, allocations: 0 / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.2755, allocations: 303.3 kB / 439.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.2755, allocations: 11.91 kB / 439.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.2755, allocations: 11.97 kB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.2757, allocations: 8 kB / 439.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.2757, allocations: 11.92 kB / 439.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.2757, allocations: 11.98 kB / 439.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.2758, allocations: 115.3 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2758, allocations: 0 / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.2761, allocations: 47.89 kB / 439.4 MB, free: 14.33 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.000757/0.2769, allocations: 0.8335 MB / 440.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.2772, allocations: 123.5 kB / 440.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2772, allocations: 0 / 440.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.2773, allocations: 55.98 kB / 440.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.2776, allocations: 19.98 kB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.2804, allocations: 2.07 MB / 442.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.2808, allocations: 0.724 MB / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.905e-05/0.2808, allocations: 9.422 kB / 443.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.564e-05/0.2809, allocations: 47.42 kB / 443.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2809, allocations: 0 / 443.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.3135, allocations: 3.612 MB / 446.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.93, allocations: 4.062 kB / 446.9 MB, free: 6.82 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --stepSize=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 14.298564661061391]