Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007676/0.0007675, allocations: 96.34 kB / 17 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001109, allocations: 196.8 kB / 17.91 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002108/0.0002108, allocations: 12 kB / 307.1 MB, free: 1.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/0.09033, allocations: 51.52 MB / 358.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003652/0.09403, allocations: 3.144 MB / 361.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.09596, allocations: 1.352 MB / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.0961, allocations: 8 kB / 363.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.09642, allocations: 127.3 kB / 363.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007004/0.09713, allocations: 310.6 kB / 363.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007989/0.09794, allocations: 463.1 kB / 364 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004154/0.09836, allocations: 418.1 kB / 364.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.09946, allocations: 0.6525 MB / 365.1 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.09971, allocations: 171.3 kB / 365.3 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.09997, allocations: 223.1 kB / 365.5 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.1, allocations: 24 kB / 365.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.1003, allocations: 175.8 kB / 365.7 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.1004, allocations: 83.66 kB / 365.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.132e-05/0.1005, allocations: 101.5 kB / 365.8 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.101, allocations: 0.5066 MB / 366.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.101, allocations: 3.938 kB / 366.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.101, allocations: 4 kB / 366.4 MB, free: 5.875 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.101, allocations: 4 kB / 366.4 MB, free: 5.871 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.001901/0.1029, allocations: 0.8232 MB / 367.2 MB, free: 5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.103, allocations: 12.03 kB / 367.2 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/0.1064, allocations: 498.9 kB / 367.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.1068, allocations: 298.4 kB / 368 MB, free: 4.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.1069, allocations: 37.31 kB / 368 MB, free: 4.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.1069, allocations: 55.95 kB / 368.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009279/0.1079, allocations: 0.5102 MB / 368.6 MB, free: 3.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1079, allocations: 8 kB / 368.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.108, allocations: 20 kB / 368.6 MB, free: 3.531 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.108, allocations: 12 kB / 368.6 MB, free: 3.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.109, allocations: 0.5751 MB / 369.2 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.1118, allocations: 1.956 MB / 371.1 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1689/0.2808, allocations: 2.181 MB / 373.3 MB, free: 17.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.2813, allocations: 217.8 kB / 373.5 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.2815, allocations: 171.7 kB / 373.7 MB, free: 17.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.2815, allocations: 38.92 kB / 373.7 MB, free: 17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.335e-06/0.2816, allocations: 0 / 373.7 MB, free: 17 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001977/0.2835, allocations: 0.8053 MB / 374.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.2836, allocations: 57.56 kB / 374.6 MB, free: 16.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.2838, allocations: 181.9 kB / 374.8 MB, free: 16.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.2838, allocations: 37.7 kB / 374.8 MB, free: 16.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.2839, allocations: 221.8 kB / 375 MB, free: 16.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.2841, allocations: 162.2 kB / 375.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.2841, allocations: 8.781 kB / 375.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.2842, allocations: 338.2 kB / 375.5 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.2845, allocations: 152.5 kB / 375.7 MB, free: 16.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.2848, allocations: 229.3 kB / 375.9 MB, free: 16.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.2852, allocations: 185 kB / 376.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.2852, allocations: 1 kB / 376.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00104/0.2863, allocations: 0.5419 MB / 376.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2863, allocations: 6.062 kB / 376.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2863, allocations: 1.844 kB / 376.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.2867, allocations: 91.47 kB / 376.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.2871, allocations: 96.22 kB / 376.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.2889, allocations: 1.843 MB / 378.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.2891, allocations: 49.88 kB / 378.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.2891, allocations: 17.3 kB / 378.7 MB, free: 14.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001998/0.2893, allocations: 166.4 kB / 378.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.2894, allocations: 29.97 kB / 378.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2905, allocations: 0.5592 MB / 379.5 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2905, allocations: 5.5 kB / 379.5 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2905, allocations: 3.406 kB / 379.5 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.2905, allocations: 7.094 kB / 379.5 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.2921, allocations: 1.128 MB / 380.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2921, allocations: 0 / 380.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.2924, allocations: 79.42 kB / 380.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002662/0.2927, allocations: 97.95 kB / 380.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.2928, allocations: 8.766 kB / 380.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.2942, allocations: 1.841 MB / 382.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2942, allocations: 0 / 382.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.2954, allocations: 0.8109 MB / 383.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.2955, allocations: 107.9 kB / 383.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.2956, allocations: 12.44 kB / 383.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.2958, allocations: 16.19 kB / 383.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/0.2959, allocations: 38.06 kB / 383.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.2959, allocations: 16.02 kB / 383.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.2961, allocations: 133.7 kB / 383.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2961, allocations: 0 / 383.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006374/0.2967, allocations: 144.4 kB / 383.9 MB, free: 10.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002345/0.2969, allocations: 144.5 kB / 384.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009594/0.2979, allocations: 0.5788 MB / 384.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2979, allocations: 0 / 384.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.2985, allocations: 384.9 kB / 385 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.2989, allocations: 34.36 kB / 385 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.3002, allocations: 1.007 MB / 386.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3005, allocations: 0.8051 MB / 386.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000206/0.3008, allocations: 46.5 kB / 386.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/0.3008, allocations: 32.67 kB / 386.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3009, allocations: 5.094 kB / 386.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of Templates: time 0.008532/0.3094, allocations: 3.957 MB / 390.9 MB, free: 8.676 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches