Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 96.2 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 182 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002258/0.0002258, allocations: 11.58 kB / 300.7 MB, free: 6.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08213/0.08237, allocations: 50.42 MB / 351.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003216/0.08562, allocations: 2.985 MB / 354.1 MB, free: 8.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.08751, allocations: 1.317 MB / 355.4 MB, free: 7.359 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.08767, allocations: 8 kB / 355.5 MB, free: 7.352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.08798, allocations: 123.3 kB / 355.6 MB, free: 7.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009041/0.08889, allocations: 466.6 kB / 356 MB, free: 6.773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.08953, allocations: 348.2 kB / 356.4 MB, free: 6.438 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.0899, allocations: 311.3 kB / 356.7 MB, free: 6.133 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.09114, allocations: 0.7033 MB / 357.4 MB, free: 5.398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.09142, allocations: 171.3 kB / 357.5 MB, free: 5.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.09169, allocations: 215.2 kB / 357.8 MB, free: 5.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.09174, allocations: 20 kB / 357.8 MB, free: 5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.09209, allocations: 155.8 kB / 357.9 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.907e-05/0.09217, allocations: 83.66 kB / 358 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.09226, allocations: 97.52 kB / 358.1 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.09276, allocations: 0.5103 MB / 358.6 MB, free: 4.152 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.09278, allocations: 4 kB / 358.6 MB, free: 4.148 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09278, allocations: 0 / 358.6 MB, free: 4.148 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.09279, allocations: 0 / 358.6 MB, free: 4.148 MB / 286.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.001856/0.09466, allocations: 0.8233 MB / 359.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.0947, allocations: 8.031 kB / 359.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/0.09814, allocations: 498.9 kB / 359.9 MB, free: 2.777 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.0985, allocations: 306.3 kB / 360.2 MB, free: 2.438 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.09855, allocations: 41.31 kB / 360.3 MB, free: 2.398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/0.09864, allocations: 51.98 kB / 360.3 MB, free: 2.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008834/0.09953, allocations: 0.5219 MB / 360.8 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.09956, allocations: 8 kB / 360.9 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.09962, allocations: 23.95 kB / 360.9 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.09964, allocations: 12 kB / 360.9 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1006, allocations: 0.579 MB / 361.5 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.1035, allocations: 1.883 MB / 363.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.1054, allocations: 2.165 MB / 365.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.943e-05/0.1055, allocations: 89.53 kB / 365.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1056, allocations: 42.98 kB / 365.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.004e-06/0.1056, allocations: 0 / 365.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001786/0.1074, allocations: 0.7665 MB / 366.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1074, allocations: 55.84 kB / 366.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.1076, allocations: 194.2 kB / 366.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.1076, allocations: 29.7 kB / 366.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1078, allocations: 220.5 kB / 366.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1079, allocations: 161.7 kB / 367.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.1079, allocations: 8 kB / 367.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.108, allocations: 330.8 kB / 367.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.1083, allocations: 165 kB / 367.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.1087, allocations: 236.8 kB / 367.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.109, allocations: 192.7 kB / 368 MB, free: 10.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.109, allocations: 0 / 368 MB, free: 10.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009873/0.11, allocations: 0.5474 MB / 368.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1101, allocations: 7.938 kB / 368.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1101, allocations: 4 kB / 368.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003278/0.1104, allocations: 84.73 kB / 368.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.1108, allocations: 95.89 kB / 368.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.1125, allocations: 1.663 MB / 370.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.1128, allocations: 51.52 kB / 370.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.1128, allocations: 16 kB / 370.4 MB, free: 7.477 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 (52): * Single equations (assignments): 51 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.113, allocations: 173.7 kB / 370.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.1131, allocations: 23.72 kB / 370.6 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.1141, allocations: 0.5668 MB / 371.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1141, allocations: 4 kB / 371.2 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1142, allocations: 8 kB / 371.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1142, allocations: 7.984 kB / 371.2 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.1158, allocations: 1.16 MB / 372.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1158, allocations: 0 / 372.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.1162, allocations: 79.89 kB / 372.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/0.1164, allocations: 76.81 kB / 372.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.1165, allocations: 8 kB / 372.5 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.1181, allocations: 1.664 MB / 374.2 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1181, allocations: 3.984 kB / 374.2 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.1194, allocations: 0.8194 MB / 375 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.1195, allocations: 104.8 kB / 375.1 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.1195, allocations: 12 kB / 375.1 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.1197, allocations: 24.05 kB / 375.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/0.1198, allocations: 32.39 kB / 375.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.1199, allocations: 15.94 kB / 375.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.12, allocations: 140.2 kB / 375.3 MB, free: 2.316 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.12, allocations: 0 / 375.3 MB, free: 2.316 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004509/0.1204, allocations: 151.5 kB / 375.5 MB, free: 2.168 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002094/0.1207, allocations: 135.2 kB / 375.6 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1217, allocations: 0.5816 MB / 376.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1217, allocations: 0 / 376.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005495/0.1222, allocations: 389.4 kB / 376.6 MB, free: 1.039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.1225, allocations: 27.89 kB / 376.6 MB, free: 1.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1238, allocations: 1.025 MB / 377.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.1241, allocations: 0.8165 MB / 378.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.1244, allocations: 46.95 kB / 378.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.1245, allocations: 31.44 kB / 378.5 MB, free: 15.04 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1245, allocations: 0 / 378.5 MB, free: 15.04 MB / 318.1 MB Notification: Performance of Templates: time 0.007272/0.1317, allocations: 3.923 MB / 382.5 MB, free: 11.12 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches