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.001634/0.001634, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002042/0.002042, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 59.38 kB / 307.6 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1222, allocations: 50.54 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004995/0.1272, allocations: 3.704 MB / 361.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.1301, allocations: 1.487 MB / 363.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/0.1305, allocations: 12 kB / 363.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.1325, allocations: 0.7428 MB / 364.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.1336, allocations: 385.6 kB / 364.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.1348, allocations: 0.5527 MB / 365 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006585/0.1355, allocations: 462.1 kB / 365.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007702/0.1363, allocations: 462.2 kB / 365.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003845/0.1367, allocations: 223.2 kB / 366.2 MB, free: 6.059 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.137, allocations: 274.9 kB / 366.4 MB, free: 5.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1372, allocations: 44 kB / 366.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004968/0.1377, allocations: 211.8 kB / 366.7 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1378, allocations: 111.6 kB / 366.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.138, allocations: 238.8 kB / 367 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009332/0.139, allocations: 0.6931 MB / 367.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.139, allocations: 0 / 367.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.139, allocations: 4 kB / 367.7 MB, free: 4.496 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.139, allocations: 4 kB / 367.7 MB, free: 4.492 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.002108/0.1411, allocations: 0.9131 MB / 368.6 MB, free: 3.531 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1412, allocations: 12.03 kB / 368.6 MB, free: 3.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003558/0.1447, allocations: 499.9 kB / 369.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.1451, allocations: 295.7 kB / 369.4 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.1452, allocations: 41.69 kB / 369.5 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.1452, allocations: 56.36 kB / 369.5 MB, free: 2.605 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009636/0.1462, allocations: 0.522 MB / 370 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.1463, allocations: 4 kB / 370 MB, free: 2.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.1463, allocations: 20 kB / 370.1 MB, free: 2.055 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1463, allocations: 16 kB / 370.1 MB, free: 2.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.1473, allocations: 0.5751 MB / 370.6 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1805/0.3278, allocations: 1.961 MB / 372.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.3295, allocations: 2.172 MB / 374.8 MB, free: 17.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.33, allocations: 262.1 kB / 375 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.3301, allocations: 175.4 kB / 375.2 MB, free: 17.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.3301, allocations: 37.55 kB / 375.2 MB, free: 17.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.988e-06/0.3301, allocations: 0 / 375.2 MB, free: 17.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001759/0.3319, allocations: 0.7497 MB / 376 MB, free: 17.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.3319, allocations: 64.47 kB / 376.1 MB, free: 17.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.3321, allocations: 187.4 kB / 376.2 MB, free: 16.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.3322, allocations: 36.78 kB / 376.3 MB, free: 16.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.696e-05/0.3323, allocations: 218.2 kB / 376.5 MB, free: 16.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.583e-05/0.3324, allocations: 158 kB / 376.6 MB, free: 16.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.3325, allocations: 88.47 kB / 376.7 MB, free: 16.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.3326, allocations: 337.5 kB / 377.1 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.3329, allocations: 149.6 kB / 377.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.3333, allocations: 237.6 kB / 377.4 MB, free: 16.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.334, allocations: 415.6 kB / 377.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.334, allocations: 1.375 kB / 377.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009767/0.3349, allocations: 0.5373 MB / 378.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.335, allocations: 5.375 kB / 378.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.335, allocations: 3.281 kB / 378.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.3353, allocations: 85.28 kB / 378.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.3357, allocations: 98.41 kB / 378.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.3371, allocations: 1.772 MB / 380.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.3374, allocations: 52.52 kB / 380.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.3374, allocations: 21.12 kB / 380.4 MB, free: 13.89 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.0001739/0.3376, allocations: 169.8 kB / 380.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.3376, allocations: 29.36 kB / 380.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.3387, allocations: 0.5405 MB / 381.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.3387, allocations: 8.641 kB / 381.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3387, allocations: 7.062 kB / 381.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3387, allocations: 2.625 kB / 381.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.3403, allocations: 1.146 MB / 382.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3403, allocations: 4.344 kB / 382.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.3406, allocations: 81.66 kB / 382.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002591/0.3409, allocations: 75.36 kB / 382.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.3409, allocations: 14.5 kB / 382.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.3422, allocations: 1.771 MB / 384.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3423, allocations: 2.172 kB / 384.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.3435, allocations: 0.8042 MB / 385.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.3435, allocations: 107.2 kB / 385.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.3436, allocations: 16.14 kB / 385.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.3438, allocations: 15.61 kB / 385.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.97e-05/0.3439, allocations: 37.41 kB / 385.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.3439, allocations: 13.05 kB / 385.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.813e-05/0.344, allocations: 141.9 kB / 385.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3441, allocations: 0 / 385.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005287/0.3446, allocations: 146.8 kB / 385.5 MB, free: 10.46 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.0002193/0.3448, allocations: 137.7 kB / 385.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.3459, allocations: 0.5909 MB / 386.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.346, allocations: 0 / 386.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.3465, allocations: 379.9 kB / 386.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3469, allocations: 37.12 kB / 386.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3482, allocations: 0.8441 MB / 387.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3485, allocations: 0.8091 MB / 388.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.3486, allocations: 37.88 kB / 388.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3486, allocations: 1.156 kB / 388.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of Templates: time 0.009269/0.3579, allocations: 6.343 MB / 394.7 MB, free: 6.797 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 -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