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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008993/0.0008993, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003635/0.003635, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8734/0.8734, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.506e-05, allocations: 6.281 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003034/0.003059, allocations: 3.4 MB / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.004811, allocations: 1.398 MB / 330.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.004984, allocations: 11.94 kB / 330.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.005987, allocations: 0.7348 MB / 331.3 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006012/0.006588, allocations: 397.3 kB / 331.7 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.007147, allocations: 0.5246 MB / 332.2 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005628/0.00771, allocations: 481.5 kB / 332.7 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004661/0.008176, allocations: 422.2 kB / 333.1 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.008473, allocations: 315.2 kB / 333.4 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.00866, allocations: 203.4 kB / 333.6 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.008702, allocations: 44 kB / 333.7 MB, free: 7.453 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.009006, allocations: 219.6 kB / 333.9 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.009055, allocations: 103.6 kB / 334 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.34e-05/0.009148, allocations: 171.6 kB / 334.1 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.009722, allocations: 0.7165 MB / 334.9 MB, free: 6.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.009725, allocations: 0 / 334.9 MB, free: 6.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.009726, allocations: 0 / 334.9 MB, free: 6.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.009734, allocations: 0 / 334.9 MB, free: 6.25 MB / 298.7 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.00131/0.01104, allocations: 0.8485 MB / 335.7 MB, free: 5.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.01108, allocations: 15.97 kB / 335.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.01268, allocations: 480.1 kB / 336.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.01305, allocations: 241.2 kB / 336.4 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.01308, allocations: 41.69 kB / 336.5 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.01314, allocations: 52.38 kB / 336.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.01377, allocations: 0.5553 MB / 337.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.01379, allocations: 192 / 337.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.01383, allocations: 24.12 kB / 337.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.01384, allocations: 12 kB / 337.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.01447, allocations: 0.5751 MB / 337.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.01622, allocations: 1.518 MB / 339.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.01733, allocations: 0.5365 MB / 339.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.01762, allocations: 238.1 kB / 340 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.963e-05/0.01768, allocations: 24.41 kB / 340 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.0177, allocations: 47.05 kB / 340 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.773e-06/0.0177, allocations: 0 / 340 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009994/0.0187, allocations: 0.6654 MB / 340.7 MB, free: 256 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.01873, allocations: 55.91 kB / 340.8 MB, free: 188 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.01885, allocations: 182.2 kB / 340.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.01888, allocations: 29.7 kB / 341 MB, free: 15.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.541e-05/0.01896, allocations: 228.9 kB / 341.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.01904, allocations: 166.5 kB / 341.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-05/0.01912, allocations: 90.12 kB / 341.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.715e-05/0.0192, allocations: 334.8 kB / 341.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.01937, allocations: 148.9 kB / 341.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.01957, allocations: 241.9 kB / 342.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.01998, allocations: 421.9 kB / 342.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.01999, allocations: 0 / 342.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005956/0.02058, allocations: 0.5331 MB / 343.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.0206, allocations: 4 kB / 343.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.02061, allocations: 4 kB / 343.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.02083, allocations: 89.02 kB / 343.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.02102, allocations: 99.83 kB / 343.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.02212, allocations: 1.628 MB / 344.9 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.02225, allocations: 39.73 kB / 345 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.02227, allocations: 19.98 kB / 345 MB, free: 11.76 MB / 314.7 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.0001453/0.02241, allocations: 173.6 kB / 345.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.02245, allocations: 23.86 kB / 345.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000644/0.02309, allocations: 0.5403 MB / 345.7 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.02309, allocations: 4 kB / 345.7 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.0231, allocations: 4 kB / 345.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.0231, allocations: 3.984 kB / 345.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009775/0.02408, allocations: 0.9814 MB / 346.7 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.02408, allocations: 4.062 kB / 346.7 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.02425, allocations: 75.91 kB / 346.8 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004033/0.02465, allocations: 80.73 kB / 346.9 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.02468, allocations: 12 kB / 346.9 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009449/0.02562, allocations: 1.64 MB / 348.5 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02562, allocations: 32 / 348.5 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007633/0.02639, allocations: 0.8053 MB / 349.3 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.02641, allocations: 31.69 kB / 349.4 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.02644, allocations: 23.92 kB / 349.4 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.02654, allocations: 12 kB / 349.4 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.0266, allocations: 36.42 kB / 349.4 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.02662, allocations: 16 kB / 349.4 MB, free: 7.105 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.713e-05/0.02669, allocations: 128.1 kB / 349.6 MB, free: 6.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02669, allocations: 3.938 kB / 349.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.02706, allocations: 151.7 kB / 349.7 MB, free: 6.828 MB / 314.7 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.0002232/0.02728, allocations: 139.2 kB / 349.9 MB, free: 6.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006568/0.02794, allocations: 0.5437 MB / 350.4 MB, free: 6.121 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.02794, allocations: 3.938 kB / 350.4 MB, free: 6.117 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.02824, allocations: 354.1 kB / 350.7 MB, free: 5.758 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.02847, allocations: 35.27 kB / 350.8 MB, free: 5.727 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/0.02941, allocations: 0.8002 MB / 351.6 MB, free: 4.891 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.02953, allocations: 204.8 kB / 351.8 MB, free: 4.676 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.675e-05/0.02962, allocations: 44.48 kB / 351.8 MB, free: 4.633 MB / 314.7 MB Notification: Performance of SimCode: time 1.783e-06/0.02962, allocations: 0 / 351.8 MB, free: 4.633 MB / 314.7 MB Notification: Performance of Templates: time 0.005886/0.03551, allocations: 6.659 MB / 358.5 MB, free: 13.96 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.511799091473222]