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.001342/0.001342, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002985/0.002985, allocations: 63.53 kB / 307 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1098, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005291/0.1151, allocations: 3.702 MB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.1176, allocations: 1.495 MB / 362.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.1178, allocations: 8 kB / 362.7 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.1196, allocations: 0.7584 MB / 363.5 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008276/0.1204, allocations: 385.2 kB / 363.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.1215, allocations: 0.5562 MB / 364.4 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004963/0.122, allocations: 470 kB / 364.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007298/0.1228, allocations: 462.2 kB / 365.3 MB, free: 6.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.1231, allocations: 227.1 kB / 365.6 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.1234, allocations: 267 kB / 365.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.651e-05/0.1235, allocations: 44 kB / 365.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.1239, allocations: 211.8 kB / 366.1 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.124, allocations: 115.6 kB / 366.2 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002356/0.1243, allocations: 238.8 kB / 366.4 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008221/0.1251, allocations: 0.6932 MB / 367.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1251, allocations: 0 / 367.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1251, allocations: 0 / 367.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1251, allocations: 0 / 367.1 MB, free: 4.449 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.002189/0.1273, allocations: 0.917 MB / 368 MB, free: 3.484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1274, allocations: 12.03 kB / 368 MB, free: 3.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.1309, allocations: 467.9 kB / 368.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.1313, allocations: 303 kB / 368.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.1314, allocations: 45.67 kB / 368.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-05/0.1315, allocations: 52.38 kB / 368.9 MB, free: 2.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.1325, allocations: 0.5337 MB / 369.4 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.1325, allocations: 0 / 369.4 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.1326, allocations: 20 kB / 369.4 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.1326, allocations: 16 kB / 369.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.1338, allocations: 0.5829 MB / 370 MB, free: 1.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.162/0.2958, allocations: 1.959 MB / 372 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.2975, allocations: 2.171 MB / 374.2 MB, free: 17.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.298, allocations: 271.4 kB / 374.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.2981, allocations: 176.6 kB / 374.6 MB, free: 16.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2981, allocations: 38.8 kB / 374.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.124e-06/0.2981, allocations: 4.375 kB / 374.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001774/0.2999, allocations: 0.7424 MB / 375.4 MB, free: 16.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.3, allocations: 57.2 kB / 375.4 MB, free: 16.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3001, allocations: 192.8 kB / 375.6 MB, free: 16.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.3002, allocations: 33.11 kB / 375.7 MB, free: 16.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.3003, allocations: 220.3 kB / 375.9 MB, free: 16.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.3003, allocations: 157.8 kB / 376 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3005, allocations: 88.75 kB / 376.1 MB, free: 16.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.3005, allocations: 339.6 kB / 376.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.3008, allocations: 147.9 kB / 376.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.3012, allocations: 242.1 kB / 376.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/0.3018, allocations: 420.4 kB / 377.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3019, allocations: 1.375 kB / 377.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009505/0.3028, allocations: 0.538 MB / 377.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3028, allocations: 6.609 kB / 377.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3029, allocations: 3.031 kB / 377.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.3032, allocations: 85.22 kB / 377.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.3036, allocations: 102.3 kB / 378 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.305, allocations: 1.779 MB / 379.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.3053, allocations: 47.36 kB / 379.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.3054, allocations: 20.14 kB / 379.8 MB, free: 13.57 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.0001722/0.3055, allocations: 166.5 kB / 380 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.3056, allocations: 27.97 kB / 380 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.3067, allocations: 0.5444 MB / 380.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3067, allocations: 5.656 kB / 380.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3067, allocations: 1.75 kB / 380.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.3067, allocations: 2.531 kB / 380.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.3083, allocations: 1.157 MB / 381.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3083, allocations: 1.344 kB / 381.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.3087, allocations: 80.33 kB / 381.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/0.309, allocations: 75.45 kB / 381.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.309, allocations: 12.81 kB / 381.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.3103, allocations: 1.776 MB / 383.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3103, allocations: 1.469 kB / 383.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.3115, allocations: 0.8075 MB / 384.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.3116, allocations: 111.4 kB / 384.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.3116, allocations: 11.22 kB / 384.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.3119, allocations: 20 kB / 384.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.312, allocations: 34.73 kB / 384.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.312, allocations: 16.8 kB / 384.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3121, allocations: 134.8 kB / 384.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3121, allocations: 0 / 384.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005104/0.3127, allocations: 148.1 kB / 384.9 MB, free: 10.15 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.0002502/0.3129, allocations: 142.8 kB / 385.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.3141, allocations: 0.5898 MB / 385.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3141, allocations: 1.312 kB / 385.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005527/0.3146, allocations: 389.8 kB / 386.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.315, allocations: 33.16 kB / 386.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.3162, allocations: 0.8037 MB / 386.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3165, allocations: 0.8125 MB / 387.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001924/0.3167, allocations: 48.42 kB / 387.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.3168, allocations: 36.09 kB / 387.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3168, allocations: 1.094 kB / 387.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of Templates: time 0.01003/0.3268, allocations: 4.22 MB / 392 MB, free: 7.793 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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