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.001264/0.001264, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 207.9 kB / 19.25 MB, free: 3.898 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.418/1.418, allocations: 227.7 MB / 247.7 MB, free: 10.3 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.001927/0.001927, allocations: 68.95 kB / 307.9 MB, free: 480 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.09332, allocations: 50.54 MB / 358.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005287/0.09863, allocations: 3.699 MB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.1011, allocations: 1.48 MB / 363.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.1013, allocations: 8 kB / 363.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.1031, allocations: 0.7545 MB / 364.4 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008583/0.1039, allocations: 382 kB / 364.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.105, allocations: 0.5611 MB / 365.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005031/0.1055, allocations: 454.1 kB / 365.8 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006214/0.1061, allocations: 386.1 kB / 366.1 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.1065, allocations: 211.2 kB / 366.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.1068, allocations: 274.8 kB / 366.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.343e-05/0.1069, allocations: 40 kB / 366.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004082/0.1073, allocations: 219.8 kB / 366.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1074, allocations: 99.67 kB / 367 MB, free: 5.355 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.1076, allocations: 230.9 kB / 367.2 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007913/0.1084, allocations: 0.6775 MB / 367.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1084, allocations: 4 kB / 367.9 MB, free: 4.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1084, allocations: 4 kB / 367.9 MB, free: 4.441 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1085, allocations: 0 / 367.9 MB, free: 4.441 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.0021/0.1106, allocations: 0.9014 MB / 368.8 MB, free: 3.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1106, allocations: 12.03 kB / 368.8 MB, free: 3.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/0.1141, allocations: 495.9 kB / 369.3 MB, free: 2.996 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.1145, allocations: 303.7 kB / 369.6 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.1146, allocations: 41.69 kB / 369.6 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-05/0.1147, allocations: 48.38 kB / 369.7 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000952/0.1156, allocations: 0.5181 MB / 370.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.1157, allocations: 0 / 370.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/0.1157, allocations: 20 kB / 370.2 MB, free: 2.027 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.1158, allocations: 16 kB / 370.2 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.1169, allocations: 0.5673 MB / 370.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1455/0.2623, allocations: 1.958 MB / 372.7 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.2641, allocations: 2.177 MB / 374.9 MB, free: 16.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.2645, allocations: 213.5 kB / 375.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.2646, allocations: 170.9 kB / 375.3 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.2647, allocations: 40.28 kB / 375.3 MB, free: 16.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/0.2647, allocations: 1.531 kB / 375.3 MB, free: 16.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001931/0.2666, allocations: 0.7875 MB / 376.1 MB, free: 16.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2667, allocations: 58.12 kB / 376.2 MB, free: 16.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.2668, allocations: 195.3 kB / 376.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.2669, allocations: 31.86 kB / 376.4 MB, free: 16.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.669e-05/0.267, allocations: 222.8 kB / 376.6 MB, free: 16.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.245e-05/0.2671, allocations: 159.8 kB / 376.8 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.2672, allocations: 87.28 kB / 376.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.2673, allocations: 338.1 kB / 377.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.2676, allocations: 152.9 kB / 377.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.2679, allocations: 221.5 kB / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.2686, allocations: 404.5 kB / 377.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2686, allocations: 1.375 kB / 377.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009741/0.2696, allocations: 0.5345 MB / 378.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2696, allocations: 5.5 kB / 378.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2696, allocations: 4.969 kB / 378.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003668/0.27, allocations: 97.92 kB / 378.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.2704, allocations: 89.91 kB / 378.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.2721, allocations: 2.041 MB / 380.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.2724, allocations: 46.31 kB / 380.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.2724, allocations: 22.06 kB / 380.8 MB, free: 13.22 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.0001621/0.2726, allocations: 162 kB / 380.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.2726, allocations: 27.91 kB / 381 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.2737, allocations: 0.5462 MB / 381.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2737, allocations: 9.531 kB / 381.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2737, allocations: 6.344 kB / 381.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2737, allocations: 4.266 kB / 381.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.2752, allocations: 1.126 MB / 382.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2753, allocations: 1.875 kB / 382.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.2756, allocations: 75.75 kB / 382.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002673/0.2759, allocations: 88.39 kB / 382.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.2759, allocations: 13.5 kB / 382.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.2774, allocations: 2.036 MB / 384.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2774, allocations: 0.6562 kB / 384.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.2786, allocations: 0.7935 MB / 385.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.2787, allocations: 111.4 kB / 385.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.2788, allocations: 6.406 kB / 385.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.279, allocations: 19.25 kB / 385.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.2791, allocations: 39.75 kB / 385.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.2791, allocations: 13.45 kB / 385.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.592e-05/0.2792, allocations: 133.4 kB / 386 MB, free: 9.664 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2792, allocations: 3.938 kB / 386 MB, free: 9.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005926/0.2798, allocations: 151.9 kB / 386.1 MB, free: 9.617 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.0002197/0.2801, allocations: 144.5 kB / 386.3 MB, free: 9.516 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.2813, allocations: 0.579 MB / 386.9 MB, free: 9.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2813, allocations: 5.375 kB / 386.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005509/0.2818, allocations: 385.8 kB / 387.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.2823, allocations: 26.17 kB / 387.3 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.2835, allocations: 0.8413 MB / 388.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.2838, allocations: 0.8063 MB / 388.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.2839, allocations: 37.2 kB / 388.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2839, allocations: 0 / 388.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of Templates: time 0.009509/0.2934, allocations: 6.3 MB / 395.2 MB, free: 5.973 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/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