Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001969/0.001969, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002146/0.002146, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 18.57 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.462/1.462, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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: translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.752e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004487/0.004514, allocations: 2.701 MB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.005919, allocations: 0.6853 MB / 275.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.006063, allocations: 8 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.006293, allocations: 55.44 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.00649, allocations: 95.06 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.006767, allocations: 91.81 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.007268, allocations: 394.2 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.007518, allocations: 105.8 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004157/0.007934, allocations: 227.5 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.008133, allocations: 111.6 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.707e-05/0.00819, allocations: 32 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.853e-05/0.008249, allocations: 36 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.008325, allocations: 71.73 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.008479, allocations: 119.7 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004906/0.00897, allocations: 386.7 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.008973, allocations: 0 / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.556e-06/0.008977, allocations: 4 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.008983, allocations: 0 / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001308/0.01029, allocations: 0.5326 MB / 277.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.01034, allocations: 11.98 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.01047, allocations: 60.7 kB / 277.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.01087, allocations: 213.2 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.0109, allocations: 21.03 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.01097, allocations: 40.31 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.01162, allocations: 322 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.01163, allocations: 192 / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.01167, allocations: 12.38 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.01168, allocations: 15.94 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/0.0122, allocations: 206.5 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.01378, allocations: 0.8135 MB / 279.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.01416, allocations: 154.5 kB / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.01436, allocations: 72.91 kB / 279.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.01438, allocations: 4 kB / 279.8 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.01441, allocations: 30.56 kB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.01442, allocations: 4 kB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006664/0.01508, allocations: 225.6 kB / 280 MB, free: 9.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.01513, allocations: 51.41 kB / 280.1 MB, free: 9.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.01536, allocations: 199.6 kB / 280.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.01539, allocations: 25.7 kB / 280.3 MB, free: 9.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.01555, allocations: 200.3 kB / 280.5 MB, free: 9.297 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.01562, allocations: 67.44 kB / 280.5 MB, free: 9.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.683e-05/0.0157, allocations: 49.7 kB / 280.6 MB, free: 9.176 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.01592, allocations: 338.8 kB / 280.9 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.0161, allocations: 59.97 kB / 281 MB, free: 8.777 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.01632, allocations: 118 kB / 281.1 MB, free: 8.641 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.0167, allocations: 189.7 kB / 281.3 MB, free: 8.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.01671, allocations: 8 kB / 281.3 MB, free: 8.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005403/0.01725, allocations: 241.3 kB / 281.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01727, allocations: 10.81 kB / 281.5 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.01728, allocations: 7.922 kB / 281.5 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.0173, allocations: 4 kB / 281.6 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.01759, allocations: 59.91 kB / 281.6 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.0176, allocations: 8.062 kB / 281.6 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.01776, allocations: 31.81 kB / 281.7 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.01778, allocations: 12 kB / 281.7 MB, free: 8.055 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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.0001692/0.01795, allocations: 133.8 kB / 281.8 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.018, allocations: 19.95 kB / 281.8 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.01847, allocations: 199.2 kB / 282 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01847, allocations: 0 / 282 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01847, allocations: 0 / 282 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01848, allocations: 8 kB / 282 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.01883, allocations: 217.1 kB / 282.2 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01883, allocations: 0 / 282.2 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.01912, allocations: 55.91 kB / 282.3 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01912, allocations: 0 / 282.3 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01914, allocations: 0 / 282.3 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01914, allocations: 3.938 kB / 282.3 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01914, allocations: 4 kB / 282.3 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006895/0.01983, allocations: 353.8 kB / 282.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.01987, allocations: 23.95 kB / 282.7 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.0199, allocations: 3.938 kB / 282.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.02008, allocations: 19.92 kB / 282.7 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.02014, allocations: 15.94 kB / 282.7 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.02016, allocations: 12.12 kB / 282.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.0203, allocations: 135.2 kB / 282.8 MB, free: 6.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0203, allocations: 0 / 282.8 MB, free: 6.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003535/0.02066, allocations: 75.78 kB / 282.9 MB, free: 6.742 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.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 (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 Backend phase and start with SimCode phase: time 0.0001586/0.02081, allocations: 107.2 kB / 283 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004205/0.02124, allocations: 152.2 kB / 283.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02124, allocations: 0 / 283.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.02143, allocations: 71.86 kB / 283.2 MB, free: 6.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.02178, allocations: 28.17 kB / 283.3 MB, free: 6.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.02311, allocations: 0.6951 MB / 284 MB, free: 5.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.02329, allocations: 163.2 kB / 284.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.263e-05/0.02337, allocations: 21.62 kB / 284.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.02343, allocations: 20.5 kB / 284.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02343, allocations: 0 / 284.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of Templates: time 0.00606/0.02949, allocations: 1.778 MB / 285.9 MB, free: 3.695 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5606588260270655]