Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001641/0.001641, allocations: 108.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001881/0.001881, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.413/1.413, allocations: 227.7 MB / 246.6 MB, free: 10.6 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 68.14 kB / 306.6 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.09369, allocations: 50.55 MB / 357.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005225/0.09895, allocations: 3.714 MB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.1014, allocations: 1.499 MB / 362.3 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.1016, allocations: 8 kB / 362.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.1032, allocations: 0.7045 MB / 363 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008015/0.104, allocations: 350.2 kB / 363.4 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.1051, allocations: 0.54 MB / 363.9 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004651/0.1056, allocations: 438 kB / 364.3 MB, free: 7.109 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006074/0.1062, allocations: 352.9 kB / 364.7 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.1065, allocations: 199.1 kB / 364.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.1068, allocations: 263 kB / 365.1 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.849e-05/0.1069, allocations: 28 kB / 365.2 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.1073, allocations: 199.8 kB / 365.4 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.659e-05/0.1074, allocations: 95.59 kB / 365.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.1076, allocations: 222.8 kB / 365.7 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000758/0.1084, allocations: 0.6658 MB / 366.3 MB, free: 5.102 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1084, allocations: 4 kB / 366.3 MB, free: 5.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1084, allocations: 4 kB / 366.3 MB, free: 5.094 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1084, allocations: 0 / 366.3 MB, free: 5.094 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002173/0.1106, allocations: 0.9015 MB / 367.2 MB, free: 4.145 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1106, allocations: 8.031 kB / 367.3 MB, free: 4.137 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/0.1142, allocations: 475.9 kB / 367.7 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.1146, allocations: 303.6 kB / 368 MB, free: 3.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.1147, allocations: 37.69 kB / 368 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.136e-05/0.1148, allocations: 52.38 kB / 368.1 MB, free: 3.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.1158, allocations: 0.522 MB / 368.6 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.1158, allocations: 0 / 368.6 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.1159, allocations: 24 kB / 368.6 MB, free: 2.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.1159, allocations: 12 kB / 368.7 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.1171, allocations: 0.5712 MB / 369.2 MB, free: 2.113 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.1202, allocations: 1.964 MB / 371.2 MB, free: 16 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1402/0.2603, allocations: 2.18 MB / 373.4 MB, free: 18.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.2607, allocations: 215.7 kB / 373.6 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.2608, allocations: 177 kB / 373.8 MB, free: 17.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.2609, allocations: 41.06 kB / 373.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.963e-06/0.2609, allocations: 0.9062 kB / 373.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001885/0.2628, allocations: 0.7885 MB / 374.6 MB, free: 17.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.2628, allocations: 58.91 kB / 374.6 MB, free: 17.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.263, allocations: 192.3 kB / 374.8 MB, free: 17.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.263, allocations: 33.05 kB / 374.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.2631, allocations: 223.6 kB / 375.1 MB, free: 17.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.2632, allocations: 162.2 kB / 375.2 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.2633, allocations: 86.11 kB / 375.3 MB, free: 17.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.2634, allocations: 336 kB / 375.7 MB, free: 16.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.2637, allocations: 149.2 kB / 375.8 MB, free: 16.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.264, allocations: 229.9 kB / 376 MB, free: 16.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006294/0.2646, allocations: 403.2 kB / 376.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2646, allocations: 1.375 kB / 376.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009719/0.2656, allocations: 0.5313 MB / 376.9 MB, free: 16.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2656, allocations: 6.531 kB / 377 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2657, allocations: 3.469 kB / 377 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000325/0.266, allocations: 89.75 kB / 377 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.2663, allocations: 92.84 kB / 377.1 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.2678, allocations: 1.851 MB / 379 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.2681, allocations: 47.52 kB / 379 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.2681, allocations: 18.62 kB / 379.1 MB, free: 14.56 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.2683, allocations: 168.9 kB / 379.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.2683, allocations: 29.12 kB / 379.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.2694, allocations: 0.5449 MB / 379.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.2694, allocations: 6.094 kB / 379.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2694, allocations: 6.188 kB / 379.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2694, allocations: 2.531 kB / 379.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.271, allocations: 1.137 MB / 380.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2711, allocations: 0 / 380.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.2714, allocations: 74.66 kB / 381 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002796/0.2717, allocations: 92.12 kB / 381.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.2717, allocations: 7.969 kB / 381.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.2732, allocations: 1.846 MB / 383 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2733, allocations: 7.828 kB / 383 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.2746, allocations: 0.7997 MB / 383.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.2746, allocations: 108 kB / 383.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.2747, allocations: 7.844 kB / 383.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.2749, allocations: 18.81 kB / 383.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/0.275, allocations: 35.5 kB / 383.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.275, allocations: 16.02 kB / 383.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.723e-05/0.2751, allocations: 132.3 kB / 384.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.2751, allocations: 1.125 kB / 384.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000564/0.2757, allocations: 158 kB / 384.2 MB, free: 11.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002083/0.2759, allocations: 140.5 kB / 384.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009435/0.2769, allocations: 0.5654 MB / 384.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2769, allocations: 0 / 384.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005077/0.2774, allocations: 383.1 kB / 385.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.2778, allocations: 29.44 kB / 385.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.279, allocations: 1.005 MB / 386.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.2793, allocations: 0.8088 MB / 387.2 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.2795, allocations: 46.14 kB / 387.2 MB, free: 9.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.631e-05/0.2796, allocations: 34.42 kB / 387.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2796, allocations: 1.094 kB / 387.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of Templates: time 0.008316/0.2879, allocations: 4.036 MB / 391.3 MB, free: 8.766 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches