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.001468/0.001468, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001799/0.001799, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 56.53 kB / 306.9 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09824/0.09938, allocations: 50.53 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004742/0.1042, allocations: 3.706 MB / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.1064, allocations: 1.476 MB / 362.6 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.1066, allocations: 8 kB / 362.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.1082, allocations: 0.7583 MB / 363.4 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008168/0.1091, allocations: 385.9 kB / 363.8 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009445/0.11, allocations: 0.5551 MB / 364.3 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.1104, allocations: 458 kB / 364.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005889/0.111, allocations: 386.1 kB / 365.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.1113, allocations: 215.2 kB / 365.4 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.1117, allocations: 262.9 kB / 365.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.833e-05/0.1117, allocations: 40 kB / 365.7 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.1121, allocations: 219.8 kB / 365.9 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.707e-05/0.1122, allocations: 103.6 kB / 366 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.1124, allocations: 230.9 kB / 366.2 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000684/0.1131, allocations: 0.6775 MB / 366.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1131, allocations: 0 / 366.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1131, allocations: 0 / 366.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1132, allocations: 0 / 366.9 MB, free: 4.609 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.002003/0.1152, allocations: 0.9131 MB / 367.8 MB, free: 3.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1152, allocations: 12.03 kB / 367.8 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/0.1187, allocations: 495.9 kB / 368.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.1191, allocations: 307.6 kB / 368.6 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.1191, allocations: 41.69 kB / 368.6 MB, free: 2.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-05/0.1192, allocations: 48.38 kB / 368.7 MB, free: 2.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008817/0.1201, allocations: 0.5142 MB / 369.2 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.1201, allocations: 0 / 369.2 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.1202, allocations: 20 kB / 369.2 MB, free: 2.184 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.1202, allocations: 16 kB / 369.2 MB, free: 2.168 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1212, allocations: 0.5712 MB / 369.8 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1651/0.2864, allocations: 1.948 MB / 371.8 MB, free: 19.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.2881, allocations: 2.178 MB / 373.9 MB, free: 17.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.2885, allocations: 211.3 kB / 374.1 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-05/0.2886, allocations: 177.2 kB / 374.3 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.2886, allocations: 38.23 kB / 374.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.004e-06/0.2886, allocations: 0.5312 kB / 374.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.00188/0.2905, allocations: 0.7902 MB / 375.1 MB, free: 16.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.2905, allocations: 56.53 kB / 375.2 MB, free: 16.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.2907, allocations: 190.5 kB / 375.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.2907, allocations: 31.83 kB / 375.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.2908, allocations: 217.2 kB / 375.6 MB, free: 16.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.88e-05/0.2909, allocations: 167.5 kB / 375.8 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.2911, allocations: 86.28 kB / 375.9 MB, free: 16.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.286e-05/0.2911, allocations: 340.8 kB / 376.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.2914, allocations: 148.4 kB / 376.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.2918, allocations: 228.7 kB / 376.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006161/0.2924, allocations: 402 kB / 377 MB, free: 15.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2924, allocations: 0 / 377 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009046/0.2933, allocations: 0.5315 MB / 377.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2934, allocations: 5.5 kB / 377.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.2934, allocations: 9.141 kB / 377.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/0.2937, allocations: 90.38 kB / 377.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.2941, allocations: 92.17 kB / 377.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.2956, allocations: 2.046 MB / 379.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.2959, allocations: 43.45 kB / 379.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.2959, allocations: 18.41 kB / 379.8 MB, free: 13.38 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.000142/0.2961, allocations: 168.6 kB / 380 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.2961, allocations: 27.91 kB / 380 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.2972, allocations: 0.547 MB / 380.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2972, allocations: 5.578 kB / 380.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2972, allocations: 6.531 kB / 380.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2972, allocations: 2.672 kB / 380.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.2987, allocations: 1.133 MB / 381.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2987, allocations: 0 / 381.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.299, allocations: 76.14 kB / 381.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003288/0.2993, allocations: 91.17 kB / 381.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.2994, allocations: 7.359 kB / 381.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.3016, allocations: 2.04 MB / 383.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3017, allocations: 5.375 kB / 383.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.3029, allocations: 0.7922 MB / 384.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.3029, allocations: 104.4 kB / 384.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.303, allocations: 14.55 kB / 384.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.3032, allocations: 18.72 kB / 384.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.3033, allocations: 42.59 kB / 384.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.3033, allocations: 14.97 kB / 384.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.773e-05/0.3034, allocations: 130.9 kB / 385 MB, free: 9.809 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3034, allocations: 0 / 385 MB, free: 9.809 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005706/0.304, allocations: 148.6 kB / 385.2 MB, free: 9.77 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.0002098/0.3042, allocations: 144.2 kB / 385.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.3053, allocations: 0.5822 MB / 385.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3053, allocations: 0 / 385.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005231/0.3059, allocations: 389.4 kB / 386.3 MB, free: 9.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.3063, allocations: 28.88 kB / 386.3 MB, free: 9.148 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.3074, allocations: 0.804 MB / 387.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.3076, allocations: 0.8104 MB / 387.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002632/0.3079, allocations: 44.8 kB / 388 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.99e-05/0.308, allocations: 30.8 kB / 388 MB, free: 7.965 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.308, allocations: 0 / 388 MB, free: 7.965 MB / 302.1 MB Notification: Performance of Templates: time 0.009132/0.3172, allocations: 4.372 MB / 392.4 MB, free: 7.328 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