Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.007501/0.007501, allocations: 96.25 kB / 21.93 MB, free: 5.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 210.1 kB / 25.22 MB, free: 3.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 55.92 kB / 348.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2765, allocations: 49.15 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004824/0.2813, allocations: 3.419 MB / 401 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.2843, allocations: 1.387 MB / 402.4 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.2846, allocations: 13.47 kB / 402.4 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.2864, allocations: 0.7094 MB / 403.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.2877, allocations: 400.3 kB / 403.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.2887, allocations: 0.5193 MB / 404 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005937/0.2893, allocations: 494.2 kB / 404.5 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000677/0.29, allocations: 429.5 kB / 404.9 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003894/0.2904, allocations: 239.5 kB / 405.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.2907, allocations: 252.6 kB / 405.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.361e-05/0.2908, allocations: 49.5 kB / 405.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005521/0.2914, allocations: 200.7 kB / 405.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2915, allocations: 118.8 kB / 405.8 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.2917, allocations: 198.9 kB / 406 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.2928, allocations: 0.7282 MB / 406.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.2928, allocations: 0 / 406.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2928, allocations: 0 / 406.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.2928, allocations: 0 / 406.7 MB, free: 3.938 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002333/0.2951, allocations: 0.8797 MB / 407.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.2952, allocations: 13.58 kB / 407.6 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004276/0.2994, allocations: 0.5915 MB / 408.2 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006815/0.3001, allocations: 258.8 kB / 408.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.3002, allocations: 46.09 kB / 408.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.3003, allocations: 57.28 kB / 408.5 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.3015, allocations: 0.5909 MB / 409.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.3016, allocations: 1.5 kB / 409.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/0.3016, allocations: 29.83 kB / 409.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.3017, allocations: 13.56 kB / 409.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.3029, allocations: 0.6357 MB / 409.8 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.3059, allocations: 1.587 MB / 411.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.3076, allocations: 0.6151 MB / 412 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.3081, allocations: 241.6 kB / 412.3 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.903e-05/0.3081, allocations: 12.72 kB / 412.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3082, allocations: 46.02 kB / 412.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.975e-06/0.3082, allocations: 5.156 kB / 412.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001667/0.3098, allocations: 0.6651 MB / 413 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.3099, allocations: 56.84 kB / 413 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3101, allocations: 198.4 kB / 413.2 MB, free: 360 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.3101, allocations: 36.2 kB / 413.3 MB, free: 320 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3102, allocations: 246.4 kB / 413.5 MB, free: 88 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.3104, allocations: 171 kB / 413.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.3106, allocations: 100.2 kB / 413.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.3108, allocations: 333.6 kB / 414.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.3111, allocations: 158.2 kB / 414.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/0.3115, allocations: 295.9 kB / 414.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007614/0.3123, allocations: 476 kB / 415 MB, free: 14.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3123, allocations: 1.219 kB / 415 MB, free: 14.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001154/0.3134, allocations: 0.5828 MB / 415.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3135, allocations: 5.969 kB / 415.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3135, allocations: 3.5 kB / 415.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/0.3139, allocations: 96.78 kB / 415.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.3144, allocations: 101.6 kB / 415.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.3164, allocations: 1.64 MB / 417.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.3167, allocations: 59.08 kB / 417.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.3168, allocations: 22.16 kB / 417.5 MB, free: 12.98 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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.0002692/0.317, allocations: 170.4 kB / 417.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.3171, allocations: 28.89 kB / 417.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.3184, allocations: 0.5504 MB / 418.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.3184, allocations: 9.938 kB / 418.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3184, allocations: 1.125 kB / 418.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3184, allocations: 4 kB / 418.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.3202, allocations: 0.9944 MB / 419.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3203, allocations: 5.438 kB / 419.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.3206, allocations: 87.67 kB / 419.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003096/0.3209, allocations: 81.3 kB / 419.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.321, allocations: 10.84 kB / 419.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.3228, allocations: 1.641 MB / 421.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3228, allocations: 0 / 421.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.3242, allocations: 0.8055 MB / 421.9 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.3243, allocations: 38.23 kB / 421.9 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.3244, allocations: 10.81 kB / 421.9 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.3246, allocations: 28.98 kB / 422 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3247, allocations: 39.38 kB / 422 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.3248, allocations: 18.11 kB / 422 MB, free: 9.629 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.3249, allocations: 131.7 kB / 422.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3249, allocations: 1.594 kB / 422.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007388/0.3256, allocations: 154.8 kB / 422.3 MB, free: 9.484 MB / 334.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 (46): * Single equations (assignments): 45 * 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.0002798/0.3259, allocations: 136.9 kB / 422.4 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.3271, allocations: 0.5734 MB / 423 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3271, allocations: 3.938 kB / 423 MB, free: 9.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006601/0.3278, allocations: 361.5 kB / 423.4 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3282, allocations: 35.94 kB / 423.4 MB, free: 8.766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.3301, allocations: 0.907 MB / 424.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.3303, allocations: 209.1 kB / 424.5 MB, free: 7.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.3305, allocations: 43.42 kB / 424.6 MB, free: 7.547 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3305, allocations: 0 / 424.6 MB, free: 7.547 MB / 334.1 MB Notification: Performance of Templates: time 0.01089/0.3414, allocations: 6.806 MB / 431.4 MB, free: 0.7266 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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: 7.590375880245119]