Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001447/0.001447, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001602/0.001602, allocations: 169.7 kB / 24.27 MB, free: 144 kB / 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 1.499/1.499, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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: 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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.667e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004755/0.004782, allocations: 2.712 MB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.006273, allocations: 0.6854 MB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.006488, allocations: 11.94 kB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.006725, allocations: 59.42 kB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.006981, allocations: 95.06 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.007273, allocations: 83.88 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005237/0.007797, allocations: 390.2 kB / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.008041, allocations: 113.8 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004521/0.008493, allocations: 219.5 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.008709, allocations: 119.6 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.00877, allocations: 32 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.225e-05/0.008832, allocations: 32 kB / 276.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.008908, allocations: 71.73 kB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.009069, allocations: 111.8 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.009569, allocations: 386.7 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.009572, allocations: 4 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.009573, allocations: 4 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.009584, allocations: 0 / 277.4 MB, free: 12.69 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.001072/0.01066, allocations: 0.5365 MB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.01069, allocations: 8.031 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.01082, allocations: 68.64 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.0112, allocations: 205.2 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.01123, allocations: 29.03 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.0113, allocations: 32.38 kB / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.01193, allocations: 322 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.01194, allocations: 192 / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.01198, allocations: 16.38 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.01199, allocations: 11.94 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/0.0125, allocations: 202.5 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.01408, allocations: 0.8213 MB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.01444, allocations: 154.6 kB / 279.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.01463, allocations: 72.81 kB / 279.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.01465, allocations: 4 kB / 279.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.01469, allocations: 34.56 kB / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.01469, allocations: 0 / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006363/0.01533, allocations: 217.6 kB / 280.1 MB, free: 9.824 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.01537, allocations: 59.39 kB / 280.2 MB, free: 9.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.0156, allocations: 196.6 kB / 280.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.01563, allocations: 29.7 kB / 280.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.01579, allocations: 196.3 kB / 280.6 MB, free: 9.324 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.01586, allocations: 63.44 kB / 280.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/0.01594, allocations: 45.7 kB / 280.7 MB, free: 9.211 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.01613, allocations: 330.8 kB / 281 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.01633, allocations: 63.95 kB / 281.1 MB, free: 8.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.01655, allocations: 114 kB / 281.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.01696, allocations: 205.7 kB / 281.4 MB, free: 8.461 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01696, allocations: 0 / 281.4 MB, free: 8.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005503/0.01751, allocations: 245.4 kB / 281.6 MB, free: 8.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.01753, allocations: 13.19 kB / 281.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.01753, allocations: 3.938 kB / 281.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.01755, allocations: 4 kB / 281.7 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.01785, allocations: 59.95 kB / 281.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.01786, allocations: 7.938 kB / 281.7 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.01803, allocations: 27.83 kB / 281.8 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.01805, allocations: 12 kB / 281.8 MB, free: 8.09 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.0001593/0.01821, allocations: 141.8 kB / 281.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.01827, allocations: 23.91 kB / 281.9 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.01872, allocations: 187.3 kB / 282.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01873, allocations: 0 / 282.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.01873, allocations: 7.984 kB / 282.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01874, allocations: 0 / 282.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.01907, allocations: 217.1 kB / 282.3 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.01908, allocations: 0 / 282.3 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.01938, allocations: 55.91 kB / 282.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01938, allocations: 0 / 282.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.0194, allocations: 8 kB / 282.4 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.01941, allocations: 7.938 kB / 282.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01941, allocations: 0 / 282.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/0.02009, allocations: 350.5 kB / 282.8 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.02012, allocations: 11.91 kB / 282.8 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.02015, allocations: 64 / 282.8 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.02035, allocations: 27.86 kB / 282.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.0204, allocations: 23.92 kB / 282.8 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.02042, allocations: 7.938 kB / 282.8 MB, free: 6.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.02056, allocations: 139.4 kB / 283 MB, free: 6.848 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02056, allocations: 0 / 283 MB, free: 6.848 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.02092, allocations: 75.78 kB / 283 MB, free: 6.773 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.0001305/0.02105, allocations: 99.25 kB / 283.1 MB, free: 6.668 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.02148, allocations: 156 kB / 283.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02148, allocations: 0 / 283.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.02166, allocations: 71.84 kB / 283.4 MB, free: 6.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.022, allocations: 31.92 kB / 283.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.02335, allocations: 0.6913 MB / 284.1 MB, free: 5.695 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.02354, allocations: 159.2 kB / 284.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.755e-05/0.02363, allocations: 21.62 kB / 284.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.02369, allocations: 20.5 kB / 284.3 MB, free: 5.477 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02369, allocations: 4 kB / 284.3 MB, free: 5.473 MB / 266.7 MB Notification: Performance of Templates: time 0.005714/0.0294, allocations: 1.78 MB / 286.1 MB, free: 3.727 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.454624581034295]