Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 120.8 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 190.9 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 51.92 kB / 366.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09126/0.09275, allocations: 52.15 MB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.0041/0.09685, allocations: 2.904 MB / 421.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.09798, allocations: 0.6816 MB / 422.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.09811, allocations: 8 kB / 422.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.09829, allocations: 59.38 kB / 422.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.09846, allocations: 87.19 kB / 422.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.09871, allocations: 87.88 kB / 422.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.09909, allocations: 370.4 kB / 423.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.09932, allocations: 121.4 kB / 423.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.09952, allocations: 147.5 kB / 423.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.09972, allocations: 155.3 kB / 423.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.09977, allocations: 32 kB / 423.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.402e-05/0.09982, allocations: 28 kB / 423.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.0999, allocations: 75.75 kB / 423.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.1001, allocations: 171.2 kB / 423.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.1005, allocations: 378.4 kB / 424.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1005, allocations: 0 / 424.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1005, allocations: 0 / 424.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1005, allocations: 11.94 kB / 424.2 MB, free: 6.777 MB / 350.1 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.0009464/0.1014, allocations: 0.6078 MB / 424.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1015, allocations: 12.03 kB / 424.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.151e-05/0.1015, allocations: 36.7 kB / 424.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.1019, allocations: 275.9 kB / 425.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.1019, allocations: 25.03 kB / 425.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-05/0.102, allocations: 36.33 kB / 425.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.1025, allocations: 278.3 kB / 425.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1025, allocations: 0 / 425.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.1025, allocations: 12 kB / 425.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1026, allocations: 8 kB / 425.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.103, allocations: 202.5 kB / 425.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.1045, allocations: 0.9756 MB / 426.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.1048, allocations: 154.6 kB / 426.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.105, allocations: 72.81 kB / 426.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.105, allocations: 0 / 426.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.1051, allocations: 42.56 kB / 427 MB, free: 3.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.1051, allocations: 3.938 kB / 427 MB, free: 3.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005553/0.1056, allocations: 209.7 kB / 427.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1056, allocations: 55.41 kB / 427.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.1059, allocations: 214.9 kB / 427.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1059, allocations: 29.7 kB / 427.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.106, allocations: 192.4 kB / 427.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.1061, allocations: 71.42 kB / 427.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.1062, allocations: 45.7 kB / 427.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1063, allocations: 330.8 kB / 428.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.1065, allocations: 59.97 kB / 428.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.1067, allocations: 118 kB / 428.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.107, allocations: 189.8 kB / 428.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.107, allocations: 3.938 kB / 428.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004658/0.1075, allocations: 241.2 kB / 428.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1075, allocations: 6.188 kB / 428.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1075, allocations: 3.984 kB / 428.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1075, allocations: 4 kB / 428.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.1078, allocations: 64.03 kB / 428.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1078, allocations: 4 kB / 428.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.108, allocations: 31.83 kB / 428.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.108, allocations: 15.94 kB / 428.8 MB, free: 1.914 MB / 350.1 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.0001418/0.1081, allocations: 145.7 kB / 429 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.1082, allocations: 19.91 kB / 429 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004174/0.1086, allocations: 197.5 kB / 429.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1086, allocations: 4 kB / 429.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1086, allocations: 0 / 429.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1086, allocations: 0 / 429.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.109, allocations: 321.4 kB / 429.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.109, allocations: 0 / 429.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.1092, allocations: 55.91 kB / 429.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1092, allocations: 0 / 429.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1093, allocations: 0 / 429.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1093, allocations: 4 kB / 429.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1093, allocations: 0 / 429.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.1099, allocations: 355.8 kB / 429.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.1099, allocations: 96.94 kB / 430 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.11, allocations: 8.062 kB / 430 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.1101, allocations: 11.98 kB / 430 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.1102, allocations: 15.98 kB / 430 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.1102, allocations: 4 kB / 430 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1103, allocations: 156.4 kB / 430.2 MB, free: 464 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1103, allocations: 0 / 430.2 MB, free: 464 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.1106, allocations: 75.72 kB / 430.3 MB, free: 388 kB / 350.1 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.0001261/0.1108, allocations: 111.2 kB / 430.4 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.1111, allocations: 162.4 kB / 430.5 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1112, allocations: 0 / 430.5 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.1113, allocations: 71.91 kB / 430.6 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.1116, allocations: 23.92 kB / 430.6 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.113, allocations: 0.8631 MB / 431.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.1134, allocations: 0.7711 MB / 432.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.1135, allocations: 19.44 kB / 432.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1135, allocations: 0 / 432.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Templates: time 0.004845/0.1183, allocations: 2.917 MB / 435.2 MB, free: 11.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.7221351868938655]