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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 179.9 kB / 24.46 MB, free: 4.062 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.44/1.44, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 63.89 kB / 347.7 MB, free: 9.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2488, allocations: 49.15 MB / 396.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004385/0.2531, allocations: 3.775 MB / 400.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.2555, allocations: 1.487 MB / 402.1 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.2557, allocations: 9.094 kB / 402.1 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.2573, allocations: 0.7668 MB / 402.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.2585, allocations: 0.5715 MB / 403.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.2593, allocations: 439 kB / 403.8 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005009/0.2598, allocations: 492.7 kB / 404.3 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005409/0.2603, allocations: 375.5 kB / 404.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.2606, allocations: 232.7 kB / 404.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.2609, allocations: 286.1 kB / 405.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.623e-05/0.261, allocations: 46.81 kB / 405.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004368/0.2614, allocations: 212.9 kB / 405.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.2615, allocations: 118.7 kB / 405.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.2617, allocations: 246.8 kB / 405.8 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008869/0.2626, allocations: 0.7263 MB / 406.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2626, allocations: 0 / 406.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2626, allocations: 0 / 406.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.2626, allocations: 0.7969 kB / 406.5 MB, free: 3.379 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.001914/0.2645, allocations: 0.8785 MB / 407.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.2645, allocations: 14.28 kB / 407.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004169/0.2687, allocations: 0.5869 MB / 408 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.2691, allocations: 268.4 kB / 408.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.2691, allocations: 39.72 kB / 408.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.263e-05/0.2692, allocations: 57.75 kB / 408.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/0.2702, allocations: 0.5671 MB / 408.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.2702, allocations: 0.5156 kB / 408.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.2703, allocations: 25.5 kB / 409 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.2703, allocations: 13.44 kB / 409 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.2715, allocations: 0.6437 MB / 409.6 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.2743, allocations: 1.831 MB / 411.5 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.2758, allocations: 0.6227 MB / 412.1 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/0.2763, allocations: 241.1 kB / 412.3 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.069e-05/0.2764, allocations: 12.77 kB / 412.3 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.2764, allocations: 38.53 kB / 412.4 MB, free: 228 kB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.993e-06/0.2764, allocations: 0 / 412.4 MB, free: 228 kB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.0017/0.2781, allocations: 0.6737 MB / 413 MB, free: 15.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.2782, allocations: 69.58 kB / 413.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.2784, allocations: 196.1 kB / 413.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.2785, allocations: 31.36 kB / 413.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.2787, allocations: 250.5 kB / 413.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.2788, allocations: 182.5 kB / 413.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.279, allocations: 97.03 kB / 413.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.2792, allocations: 336.6 kB / 414.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.2796, allocations: 162.4 kB / 414.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.2801, allocations: 285 kB / 414.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008802/0.281, allocations: 472.6 kB / 415.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.281, allocations: 1.219 kB / 415.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001205/0.2822, allocations: 0.5872 MB / 415.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2822, allocations: 5.844 kB / 415.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2822, allocations: 5.062 kB / 415.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003554/0.2826, allocations: 83.69 kB / 415.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.283, allocations: 116.9 kB / 415.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.2849, allocations: 1.666 MB / 417.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.2852, allocations: 55.78 kB / 417.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.2852, allocations: 21.28 kB / 417.6 MB, free: 12.23 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.0002285/0.2855, allocations: 175 kB / 417.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.2855, allocations: 42.02 kB / 417.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.2867, allocations: 0.5457 MB / 418.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2867, allocations: 5.875 kB / 418.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2867, allocations: 5.062 kB / 418.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.2867, allocations: 5.141 kB / 418.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.2886, allocations: 1.141 MB / 419.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2886, allocations: 1.469 kB / 419.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.289, allocations: 83.38 kB / 419.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000269/0.2892, allocations: 80.52 kB / 419.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.2893, allocations: 11.38 kB / 419.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.291, allocations: 1.658 MB / 421.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.291, allocations: 1 kB / 421.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.2924, allocations: 0.8238 MB / 422.2 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.2925, allocations: 42.17 kB / 422.2 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.2925, allocations: 15.97 kB / 422.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.2928, allocations: 15.77 kB / 422.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.2929, allocations: 37.84 kB / 422.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.2929, allocations: 19.45 kB / 422.3 MB, free: 8.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.293, allocations: 142.3 kB / 422.4 MB, free: 8.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.293, allocations: 0 / 422.4 MB, free: 8.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006066/0.2936, allocations: 159.7 kB / 422.6 MB, free: 8.543 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.0002387/0.2939, allocations: 133.8 kB / 422.7 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.295, allocations: 0.5614 MB / 423.3 MB, free: 8.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.295, allocations: 1.219 kB / 423.3 MB, free: 8.109 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006316/0.2957, allocations: 365.8 kB / 423.7 MB, free: 7.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.296, allocations: 46.7 kB / 423.7 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.2977, allocations: 0.8678 MB / 424.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.2982, allocations: 0.8172 MB / 425.4 MB, free: 6.102 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.2984, allocations: 51.27 kB / 425.4 MB, free: 6.051 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.2985, allocations: 39.36 kB / 425.5 MB, free: 6.016 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2985, allocations: 0 / 425.5 MB, free: 6.016 MB / 334.1 MB Notification: Performance of Templates: time 0.01045/0.3089, allocations: 4.825 MB / 430.3 MB, free: 1.184 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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: 4.56091726757586]