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.001595/0.001595, allocations: 112.6 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002151/0.002151, allocations: 203.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.794/2.794, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 63.89 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4384, allocations: 50.54 MB / 409.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.008794/0.4473, allocations: 3.709 MB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004452/0.4518, allocations: 1.476 MB / 415.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004638/0.4523, allocations: 8 kB / 415.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.4556, allocations: 0.7506 MB / 415.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.4577, allocations: 397.4 kB / 416.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.4599, allocations: 0.5485 MB / 416.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009998/0.4609, allocations: 462 kB / 417.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.462, allocations: 389.7 kB / 417.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005759/0.4626, allocations: 203.3 kB / 417.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006165/0.4632, allocations: 274.9 kB / 418.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.4634, allocations: 40 kB / 418.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000889/0.4643, allocations: 219.8 kB / 418.4 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.4645, allocations: 107.6 kB / 418.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.4649, allocations: 234.8 kB / 418.7 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.4663, allocations: 0.6788 MB / 419.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.4664, allocations: 3.984 kB / 419.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.4664, allocations: 0 / 419.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.4664, allocations: 0 / 419.4 MB, free: 8.148 MB / 334.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.00393/0.4704, allocations: 0.9015 MB / 420.3 MB, free: 7.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4704, allocations: 8.031 kB / 420.3 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007616/0.478, allocations: 499.9 kB / 420.8 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008672/0.479, allocations: 307.5 kB / 421.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/0.4791, allocations: 41.69 kB / 421.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.4793, allocations: 52.38 kB / 421.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.4811, allocations: 0.5103 MB / 421.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/0.4811, allocations: 0 / 421.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/0.4813, allocations: 27.94 kB / 421.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.4813, allocations: 16 kB / 421.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.4834, allocations: 0.5634 MB / 422.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005398/0.4888, allocations: 1.933 MB / 424.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003847/0.4927, allocations: 2.188 MB / 426.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.4934, allocations: 214 kB / 426.6 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.4936, allocations: 170.6 kB / 426.8 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.4937, allocations: 42.92 kB / 426.8 MB, free: 36 kB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 3.747e-06/0.4937, allocations: 0 / 426.8 MB, free: 36 kB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.003742/0.4975, allocations: 0.7895 MB / 427.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.4976, allocations: 59.84 kB / 427.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.4979, allocations: 186.3 kB / 427.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.498, allocations: 33.7 kB / 427.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.4982, allocations: 220.4 kB / 428.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.4984, allocations: 165.6 kB / 428.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.4987, allocations: 82.16 kB / 428.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4989, allocations: 342.8 kB / 428.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005812/0.4995, allocations: 149 kB / 428.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/0.5002, allocations: 232.8 kB / 429 MB, free: 13.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.5015, allocations: 399.4 kB / 429.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.5015, allocations: 0 / 429.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001985/0.5035, allocations: 0.5318 MB / 430 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.5036, allocations: 4 kB / 430 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.5036, allocations: 4 kB / 430 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006041/0.5042, allocations: 88.75 kB / 430.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/0.5051, allocations: 95.88 kB / 430.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/0.5087, allocations: 2.033 MB / 432.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.5092, allocations: 43.52 kB / 432.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.5093, allocations: 20 kB / 432.2 MB, free: 10.32 MB / 350.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.0003584/0.5097, allocations: 176.7 kB / 432.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.5098, allocations: 27.7 kB / 432.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.512, allocations: 0.5512 MB / 433 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.512, allocations: 4 kB / 433 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.512, allocations: 192 / 433 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.512, allocations: 0 / 433 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.5153, allocations: 1.138 MB / 434.1 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.5154, allocations: 3.938 kB / 434.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/0.516, allocations: 75.89 kB / 434.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/0.5166, allocations: 88.81 kB / 434.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-05/0.5167, allocations: 7.984 kB / 434.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003551/0.5202, allocations: 2.029 MB / 436.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/0.5203, allocations: 4 kB / 436.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.5229, allocations: 0.797 MB / 437.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.5231, allocations: 108.7 kB / 437.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.5232, allocations: 15.98 kB / 437.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/0.5236, allocations: 20.06 kB / 437.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.5238, allocations: 36.38 kB / 437.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.5239, allocations: 12 kB / 437.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.5241, allocations: 131.2 kB / 437.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5241, allocations: 3.938 kB / 437.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001175/0.5253, allocations: 143.6 kB / 437.6 MB, free: 4.711 MB / 350.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.000391/0.5257, allocations: 147.1 kB / 437.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.5277, allocations: 0.5582 MB / 438.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5277, allocations: 4 kB / 438.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.5288, allocations: 381.6 kB / 438.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.5294, allocations: 31.94 kB / 438.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.5318, allocations: 0.8322 MB / 439.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.5324, allocations: 0.8045 MB / 440.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.5327, allocations: 39.38 kB / 440.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5327, allocations: 0 / 440.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of Templates: time 0.01683/0.5495, allocations: 6.395 MB / 446.8 MB, free: 11.43 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/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