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.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.001834/0.001834, allocations: 112.1 kB / 20.89 MB, free: 0.9648 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.002069/0.002069, allocations: 194.8 kB / 24.13 MB, free: 4.457 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.364/1.364, allocations: 207.6 MB / 234.8 MB, free: 11.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.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.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.001762/0.001762, allocations: 62.72 kB / 346.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2203, allocations: 49.12 MB / 396.1 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004305/0.2247, allocations: 3.78 MB / 399.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.227, allocations: 1.481 MB / 401.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004016/0.2274, allocations: 9.594 kB / 401.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.2292, allocations: 0.7613 MB / 402.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.2304, allocations: 0.5816 MB / 402.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000749/0.2312, allocations: 413.8 kB / 403.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.2316, allocations: 492.6 kB / 403.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004644/0.2321, allocations: 305 kB / 403.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.2324, allocations: 213.1 kB / 404.1 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.2326, allocations: 281.9 kB / 404.3 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.2327, allocations: 43.59 kB / 404.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/0.2331, allocations: 211.4 kB / 404.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.2332, allocations: 118.5 kB / 404.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.2333, allocations: 245 kB / 404.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007821/0.2341, allocations: 0.7019 MB / 405.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2341, allocations: 1.844 kB / 405.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2341, allocations: 3.938 kB / 405.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.2341, allocations: 0 / 405.7 MB, free: 3.703 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.001964/0.2361, allocations: 0.9442 MB / 406.6 MB, free: 3.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2361, allocations: 8.906 kB / 406.6 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00438/0.2405, allocations: 0.5871 MB / 407.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.2409, allocations: 318.7 kB / 407.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.241, allocations: 40.03 kB / 407.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.731e-05/0.2411, allocations: 62.16 kB / 407.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009346/0.242, allocations: 0.5597 MB / 408.2 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.242, allocations: 9.297 kB / 408.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/0.2421, allocations: 21.11 kB / 408.2 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.2421, allocations: 13.75 kB / 408.2 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.2432, allocations: 0.6324 MB / 408.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00263/0.2458, allocations: 2.024 MB / 410.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/0.2485, allocations: 2.977 MB / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.2488, allocations: 194.5 kB / 414 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.2489, allocations: 90.91 kB / 414.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.249, allocations: 40.47 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.024e-06/0.249, allocations: 1.469 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.002/0.251, allocations: 0.7965 MB / 415 MB, free: 12.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.251, allocations: 62.22 kB / 415 MB, free: 12.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.2512, allocations: 201 kB / 415.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.2513, allocations: 31.89 kB / 415.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.2514, allocations: 247.5 kB / 415.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.2516, allocations: 174.3 kB / 415.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.2517, allocations: 95.84 kB / 415.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2519, allocations: 336.7 kB / 416.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.2522, allocations: 163.3 kB / 416.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.2526, allocations: 274 kB / 416.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.2534, allocations: 462.8 kB / 417 MB, free: 11.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2534, allocations: 1.219 kB / 417 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00112/0.2545, allocations: 0.5844 MB / 417.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2545, allocations: 6.281 kB / 417.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2545, allocations: 7.219 kB / 417.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.2549, allocations: 93.73 kB / 417.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.2553, allocations: 109.4 kB / 417.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.2575, allocations: 2.052 MB / 419.8 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.2578, allocations: 59.61 kB / 419.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.2579, allocations: 20.75 kB / 419.9 MB, free: 8.754 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.0002192/0.2581, allocations: 175.6 kB / 420.1 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.2582, allocations: 25.83 kB / 420.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.2593, allocations: 0.5566 MB / 420.6 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.2593, allocations: 7.922 kB / 420.6 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2593, allocations: 1.219 kB / 420.6 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.2594, allocations: 109.1 kB / 420.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.2595, allocations: 10.47 kB / 420.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.2597, allocations: 17.33 kB / 420.8 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.2598, allocations: 37.91 kB / 420.8 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001236/0.261, allocations: 0.5762 MB / 421.4 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001138/0.2622, allocations: 0.7528 MB / 422.1 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003002/0.2625, allocations: 161.3 kB / 422.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.2626, allocations: 146.8 kB / 422.4 MB, free: 7.066 MB / 334.1 MB Notification: Performance of Backend: time 4.4e-07/0.2626, allocations: 0 / 422.4 MB, free: 7.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.2639, allocations: 0.5793 MB / 423 MB, free: 6.68 MB / 334.1 MB Notification: Performance of SimCode: time 0.001492/0.2654, allocations: 1.257 MB / 424.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of Templates: time 0.01229/0.2777, allocations: 6.629 MB / 430.9 MB, free: 15.75 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_2/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_2/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: 4.268630667007528]