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.001816/0.001816, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002301/0.002301, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002062/0.002062, allocations: 71.89 kB / 378.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2945, allocations: 53.41 MB / 431.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00517/0.2997, allocations: 3.395 MB / 435 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.3022, allocations: 1.4 MB / 436.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3023, allocations: 8 kB / 436.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.3042, allocations: 0.6962 MB / 437.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008892/0.305, allocations: 393 kB / 437.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.3061, allocations: 0.5244 MB / 438 MB, free: 140 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005203/0.3067, allocations: 462 kB / 438.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006807/0.3073, allocations: 421.7 kB / 438.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.3077, allocations: 223.2 kB / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.308, allocations: 239 kB / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.21e-05/0.3081, allocations: 48 kB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.3085, allocations: 203.8 kB / 439.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.66e-05/0.3086, allocations: 111.6 kB / 439.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.3088, allocations: 195 kB / 439.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008526/0.3096, allocations: 0.7044 MB / 440.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3096, allocations: 0 / 440.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3096, allocations: 0 / 440.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3096, allocations: 0 / 440.6 MB, free: 13.56 MB / 350.1 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.002176/0.3118, allocations: 0.859 MB / 441.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3118, allocations: 11.98 kB / 441.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.3154, allocations: 476.1 kB / 441.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.3159, allocations: 249.9 kB / 442.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.3159, allocations: 41.69 kB / 442.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.369e-05/0.316, allocations: 52.38 kB / 442.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.3171, allocations: 0.5549 MB / 442.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.3171, allocations: 0 / 442.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.3171, allocations: 28 kB / 442.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.3172, allocations: 15.98 kB / 442.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.3183, allocations: 0.5751 MB / 443.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/0.3212, allocations: 1.502 MB / 445 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.3228, allocations: 0.552 MB / 445.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.3233, allocations: 230.1 kB / 445.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.579e-05/0.3234, allocations: 24.36 kB / 445.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3234, allocations: 39 kB / 445.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.963e-06/0.3234, allocations: 0 / 445.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001881/0.3253, allocations: 0.6674 MB / 446.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.3253, allocations: 63.84 kB / 446.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.3255, allocations: 174.7 kB / 446.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.3256, allocations: 33.7 kB / 446.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.3257, allocations: 225 kB / 446.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.3259, allocations: 174.5 kB / 447.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.326, allocations: 82.14 kB / 447.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3262, allocations: 334.8 kB / 447.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.3265, allocations: 152.9 kB / 447.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.3269, allocations: 233.9 kB / 447.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007722/0.3277, allocations: 424.8 kB / 448.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3277, allocations: 0 / 448.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00111/0.3288, allocations: 0.5394 MB / 448.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3288, allocations: 4 kB / 448.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3288, allocations: 8.281 kB / 448.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/0.3292, allocations: 80.78 kB / 448.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.3296, allocations: 95.88 kB / 449 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.3316, allocations: 1.636 MB / 450.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.3319, allocations: 43.72 kB / 450.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.3319, allocations: 20 kB / 450.7 MB, free: 3.059 MB / 350.1 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.0002069/0.3321, allocations: 165.7 kB / 450.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.3322, allocations: 23.86 kB / 450.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.3334, allocations: 0.5504 MB / 451.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3334, allocations: 4 kB / 451.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3334, allocations: 0 / 451.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3334, allocations: 0 / 451.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.3351, allocations: 0.9878 MB / 452.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3351, allocations: 0 / 452.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.3355, allocations: 75.89 kB / 452.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.3357, allocations: 80.75 kB / 452.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.3358, allocations: 11.98 kB / 452.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.3376, allocations: 1.636 MB / 454.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3376, allocations: 0 / 454.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.339, allocations: 0.8029 MB / 455.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.3391, allocations: 43.69 kB / 455.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.3391, allocations: 4 kB / 455.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.3393, allocations: 23.98 kB / 455.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.3394, allocations: 32.38 kB / 455.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.3395, allocations: 19.98 kB / 455.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.3396, allocations: 123.2 kB / 455.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3396, allocations: 0 / 455.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005012/0.3401, allocations: 147.7 kB / 455.5 MB, free: 14.14 MB / 366.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 (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.0002222/0.3403, allocations: 143.2 kB / 455.6 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.3414, allocations: 0.5463 MB / 456.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3414, allocations: 0 / 456.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.342, allocations: 361.7 kB / 456.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.3423, allocations: 31.84 kB / 456.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3437, allocations: 0.8233 MB / 457.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.3439, allocations: 204.8 kB / 457.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.344, allocations: 46.95 kB / 457.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.3441, allocations: 35.42 kB / 457.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3441, allocations: 0 / 457.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Templates: time 0.009768/0.3539, allocations: 4.694 MB / 462.3 MB, free: 7.227 MB / 366.1 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.68338767439127]