Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.001713/0.001713, allocations: 112.5 kB / 21.94 MB, free: 12 kB / 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.001856/0.001856, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.466/1.466, allocations: 207.6 MB / 236 MB, free: 9.988 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") [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.001994/0.001994, allocations: 53.33 kB / 348.5 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2608, allocations: 49.16 MB / 397.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004754/0.2655, allocations: 3.775 MB / 401.4 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.2684, allocations: 1.48 MB / 402.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003565/0.2688, allocations: 9.125 kB / 402.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.2706, allocations: 0.7622 MB / 403.6 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.2722, allocations: 420.6 kB / 404 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.2734, allocations: 0.5515 MB / 404.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007848/0.2741, allocations: 492.1 kB / 405.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006434/0.2748, allocations: 371.6 kB / 405.4 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003695/0.2751, allocations: 223.5 kB / 405.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.2755, allocations: 285 kB / 405.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.2756, allocations: 42.38 kB / 406 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006393/0.2762, allocations: 215.1 kB / 406.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.2763, allocations: 109.5 kB / 406.3 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.2765, allocations: 250.5 kB / 406.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.2775, allocations: 0.7012 MB / 407.2 MB, free: 3.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.2775, allocations: 0.75 kB / 407.2 MB, free: 3.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2775, allocations: 1.281 kB / 407.2 MB, free: 3.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.2775, allocations: 0 / 407.2 MB, free: 3.418 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.002146/0.2797, allocations: 0.8667 MB / 408.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2797, allocations: 12.2 kB / 408.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004293/0.284, allocations: 0.5915 MB / 408.7 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007268/0.2848, allocations: 267.5 kB / 409 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.2848, allocations: 44.66 kB / 409 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.2849, allocations: 53.94 kB / 409.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.2859, allocations: 0.5558 MB / 409.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.286, allocations: 2.125 kB / 409.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.286, allocations: 24.19 kB / 409.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.286, allocations: 14.91 kB / 409.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2871, allocations: 0.6431 MB / 410.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.2899, allocations: 1.803 MB / 412.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.2915, allocations: 0.6391 MB / 412.8 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.2918, allocations: 194.5 kB / 412.9 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.487e-05/0.2919, allocations: 17.7 kB / 413 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.2919, allocations: 36.48 kB / 413 MB, free: 272 kB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.374e-06/0.2919, allocations: 1.5 kB / 413 MB, free: 272 kB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001892/0.2938, allocations: 0.7216 MB / 413.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.2939, allocations: 59.53 kB / 413.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.2941, allocations: 201.4 kB / 414 MB, free: 15.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.2941, allocations: 35.64 kB / 414 MB, free: 15.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.2943, allocations: 243.6 kB / 414.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.2945, allocations: 181 kB / 414.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.2946, allocations: 104 kB / 414.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2948, allocations: 337.3 kB / 414.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.2951, allocations: 159.2 kB / 415 MB, free: 14.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.2955, allocations: 271 kB / 415.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007622/0.2963, allocations: 463.2 kB / 415.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.2963, allocations: 1.188 kB / 415.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001133/0.2974, allocations: 0.576 MB / 416.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.2974, allocations: 10.53 kB / 416.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2975, allocations: 3.625 kB / 416.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003651/0.2978, allocations: 97.14 kB / 416.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.2982, allocations: 105.8 kB / 416.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.3005, allocations: 1.945 MB / 418.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.3008, allocations: 52.47 kB / 418.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.3009, allocations: 23.27 kB / 418.5 MB, free: 12.05 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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.000251/0.3011, allocations: 179.6 kB / 418.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/0.3012, allocations: 25.77 kB / 418.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.3024, allocations: 0.5489 MB / 419.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.3024, allocations: 4.781 kB / 419.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3024, allocations: 2.562 kB / 419.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.3024, allocations: 7.969 kB / 419.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.3043, allocations: 1.105 MB / 420.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.3043, allocations: 4 kB / 420.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.3047, allocations: 84.86 kB / 420.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002986/0.305, allocations: 84.09 kB / 420.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.305, allocations: 16.42 kB / 420.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.3072, allocations: 1.929 MB / 422.5 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3072, allocations: 0 / 422.5 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.3086, allocations: 0.7983 MB / 423.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-05/0.3087, allocations: 40.27 kB / 423.4 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.3087, allocations: 6.781 kB / 423.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.309, allocations: 24.33 kB / 423.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3091, allocations: 34.09 kB / 423.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.3091, allocations: 18.33 kB / 423.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.3093, allocations: 154.3 kB / 423.6 MB, free: 8.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3093, allocations: 0 / 423.6 MB, free: 8.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006878/0.31, allocations: 157 kB / 423.7 MB, free: 8.203 MB / 334.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 (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,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.0002569/0.3102, allocations: 136 kB / 423.9 MB, free: 8.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.3114, allocations: 0.5585 MB / 424.4 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3114, allocations: 1.219 kB / 424.4 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006412/0.3121, allocations: 362.8 kB / 424.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.3124, allocations: 40.08 kB / 424.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.3141, allocations: 0.8898 MB / 425.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.3146, allocations: 0.8172 MB / 426.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.3148, allocations: 31.44 kB / 426.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3148, allocations: 4 kB / 426.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of Templates: time 0.01074/0.3255, allocations: 6.658 MB / 433.2 MB, free: 15.02 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.637956545921043]