Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001527/0.001527, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00177/0.00177, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.8 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09311/0.0944, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005068/0.09951, allocations: 3.686 MB / 362.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.102, allocations: 1.491 MB / 364.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.1023, allocations: 8 kB / 364.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.1042, allocations: 0.7468 MB / 364.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.1052, allocations: 393.3 kB / 365.2 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.1062, allocations: 0.5544 MB / 365.8 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005385/0.1068, allocations: 462 kB / 366.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006957/0.1075, allocations: 469.8 kB / 366.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.1078, allocations: 215.2 kB / 366.9 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.1081, allocations: 274.9 kB / 367.2 MB, free: 5.039 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.656e-05/0.1082, allocations: 44 kB / 367.2 MB, free: 4.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.1086, allocations: 227.8 kB / 367.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.1087, allocations: 103.6 kB / 367.5 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.1089, allocations: 238.8 kB / 367.8 MB, free: 4.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007294/0.1096, allocations: 0.6969 MB / 368.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1097, allocations: 4 kB / 368.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1097, allocations: 0 / 368.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1097, allocations: 0 / 368.5 MB, free: 3.734 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.002057/0.1117, allocations: 0.9132 MB / 369.4 MB, free: 2.773 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1118, allocations: 8.031 kB / 369.4 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/0.1154, allocations: 499.9 kB / 369.9 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.1159, allocations: 303.7 kB / 370.2 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.1159, allocations: 41.69 kB / 370.2 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.863e-05/0.116, allocations: 52.38 kB / 370.3 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009118/0.1169, allocations: 0.5259 MB / 370.8 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.117, allocations: 4 kB / 370.8 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.367e-05/0.117, allocations: 24 kB / 370.8 MB, free: 1.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.1171, allocations: 19.94 kB / 370.8 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1181, allocations: 0.5751 MB / 371.4 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.153/0.271, allocations: 1.938 MB / 373.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.2727, allocations: 2.175 MB / 375.5 MB, free: 17.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.2732, allocations: 269 kB / 375.8 MB, free: 17.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.2734, allocations: 175.5 kB / 376 MB, free: 16.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.2734, allocations: 43.05 kB / 376 MB, free: 16.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.044e-06/0.2734, allocations: 0 / 376 MB, free: 16.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001721/0.2751, allocations: 0.738 MB / 376.7 MB, free: 16.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.2752, allocations: 58.75 kB / 376.8 MB, free: 16.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.2754, allocations: 191.6 kB / 377 MB, free: 16.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.2754, allocations: 30.8 kB / 377 MB, free: 16.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.2755, allocations: 220.1 kB / 377.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.2756, allocations: 164.1 kB / 377.4 MB, free: 16.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.2757, allocations: 88.19 kB / 377.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.588e-05/0.2758, allocations: 333 kB / 377.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.2761, allocations: 154.1 kB / 378 MB, free: 15.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.2764, allocations: 238.5 kB / 378.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.277, allocations: 413.8 kB / 378.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.277, allocations: 1.375 kB / 378.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001023/0.2781, allocations: 0.5352 MB / 379.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2781, allocations: 8.016 kB / 379.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2781, allocations: 5.156 kB / 379.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000348/0.2785, allocations: 80.09 kB / 379.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.2788, allocations: 91.59 kB / 379.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.2802, allocations: 1.785 MB / 381.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.2805, allocations: 47.19 kB / 381.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.2806, allocations: 19.52 kB / 381.2 MB, free: 13.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001723/0.2807, allocations: 170.1 kB / 381.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.2808, allocations: 27.66 kB / 381.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009895/0.2818, allocations: 0.5357 MB / 381.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2818, allocations: 7.031 kB / 381.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2818, allocations: 1.125 kB / 381.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.2818, allocations: 2.156 kB / 381.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.2835, allocations: 1.145 MB / 383 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2835, allocations: 0 / 383 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.2839, allocations: 80.45 kB / 383.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/0.2842, allocations: 84.33 kB / 383.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.2842, allocations: 12.05 kB / 383.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.2855, allocations: 1.766 MB / 385 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2855, allocations: 3.438 kB / 385 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.2867, allocations: 0.8048 MB / 385.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.2868, allocations: 111.5 kB / 385.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.2868, allocations: 11.66 kB / 385.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.2871, allocations: 20.53 kB / 385.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.2872, allocations: 37.41 kB / 386 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.2872, allocations: 14.8 kB / 386 MB, free: 10.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.2873, allocations: 131.1 kB / 386.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2873, allocations: 4.062 kB / 386.1 MB, free: 9.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005292/0.2878, allocations: 151.3 kB / 386.3 MB, free: 9.922 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000208/0.2881, allocations: 144 kB / 386.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.2891, allocations: 0.5635 MB / 387 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2891, allocations: 5.312 kB / 387 MB, free: 9.547 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005336/0.2896, allocations: 380 kB / 387.3 MB, free: 9.336 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.29, allocations: 35.25 kB / 387.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.2912, allocations: 0.8129 MB / 388.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.2914, allocations: 0.8126 MB / 389 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.2916, allocations: 45.06 kB / 389 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.763e-05/0.2917, allocations: 34.16 kB / 389.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2917, allocations: 1.156 kB / 389.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of Templates: time 0.00823/0.2999, allocations: 4.301 MB / 393.4 MB, free: 7.312 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches