Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001299/0.001299, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.001414/0.001414, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.457/1.457, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.91 kB / 373.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1021, allocations: 53.32 MB / 427.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005477/0.1076, allocations: 3.725 MB / 430.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2321/0.3397, allocations: 1.496 MB / 432.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.3399, allocations: 9.594 kB / 432.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.3418, allocations: 0.7555 MB / 433.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009734/0.3427, allocations: 389.6 kB / 433.5 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009357/0.3437, allocations: 0.5625 MB / 434.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.3441, allocations: 458.7 kB / 434.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000512/0.3446, allocations: 300.5 kB / 434.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003395/0.3449, allocations: 205.2 kB / 435 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.3452, allocations: 266.2 kB / 435.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-05/0.3453, allocations: 40.91 kB / 435.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.3457, allocations: 212.1 kB / 435.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.3458, allocations: 109 kB / 435.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.346, allocations: 235.5 kB / 435.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000919/0.3469, allocations: 0.6911 MB / 436.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3469, allocations: 0.7969 kB / 436.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3469, allocations: 0 / 436.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3469, allocations: 1 kB / 436.6 MB, free: 7.48 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.002224/0.3491, allocations: 0.9174 MB / 437.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3492, allocations: 10.62 kB / 437.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003573/0.3528, allocations: 470 kB / 437.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.3532, allocations: 304.5 kB / 438.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.3533, allocations: 45.28 kB / 438.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-05/0.3534, allocations: 54.88 kB / 438.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.3545, allocations: 0.5168 MB / 438.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.3545, allocations: 5.484 kB / 438.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/0.3546, allocations: 20.81 kB / 438.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.3546, allocations: 12.91 kB / 438.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.3558, allocations: 0.565 MB / 439.5 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.3589, allocations: 1.955 MB / 441.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.3609, allocations: 2.141 MB / 443.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000416/0.3613, allocations: 183.7 kB / 443.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.3614, allocations: 177.8 kB / 443.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.3615, allocations: 41.98 kB / 444 MB, free: 2.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.545e-06/0.3615, allocations: 4.469 kB / 444 MB, free: 2.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002224/0.3637, allocations: 0.7929 MB / 444.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3637, allocations: 56.88 kB / 444.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.3639, allocations: 186.8 kB / 445 MB, free: 1.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.364, allocations: 35.83 kB / 445 MB, free: 1.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.3641, allocations: 224.1 kB / 445.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3642, allocations: 166.2 kB / 445.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.3643, allocations: 86 kB / 445.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.3644, allocations: 340.2 kB / 445.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.3648, allocations: 152.4 kB / 446 MB, free: 1.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.3652, allocations: 222.5 kB / 446.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007009/0.3659, allocations: 408.1 kB / 446.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3659, allocations: 4 kB / 446.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00105/0.367, allocations: 0.5318 MB / 447.1 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.367, allocations: 11.36 kB / 447.1 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.367, allocations: 1 kB / 447.1 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003982/0.3674, allocations: 90.33 kB / 447.2 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.3678, allocations: 91.42 kB / 447.3 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.3704, allocations: 2.047 MB / 449.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.3707, allocations: 46.73 kB / 449.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.3707, allocations: 19.44 kB / 449.4 MB, free: 14.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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.0002623/0.371, allocations: 170.5 kB / 449.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.3711, allocations: 27.92 kB / 449.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.3724, allocations: 0.54 MB / 450.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.3724, allocations: 9.609 kB / 450.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3724, allocations: 2.094 kB / 450.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.3724, allocations: 3.328 kB / 450.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.3744, allocations: 1.124 MB / 451.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.3744, allocations: 7.562 kB / 451.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.3748, allocations: 73.84 kB / 451.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003021/0.3751, allocations: 90.88 kB / 451.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.3751, allocations: 12.53 kB / 451.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.3777, allocations: 2.034 MB / 453.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3777, allocations: 0 / 453.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.3793, allocations: 0.7964 MB / 454.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.3794, allocations: 111.5 kB / 454.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.3795, allocations: 6.906 kB / 454.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.3797, allocations: 26.86 kB / 454.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.3798, allocations: 33.73 kB / 454.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.3799, allocations: 16.31 kB / 454.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.38, allocations: 134.6 kB / 454.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.38, allocations: 0 / 454.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000754/0.3808, allocations: 156.8 kB / 454.8 MB, free: 10.96 MB / 366.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 (42): * Single equations (assignments): 41 * 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.0003031/0.3811, allocations: 137.8 kB / 454.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.3823, allocations: 0.5396 MB / 455.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3823, allocations: 0 / 455.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000649/0.383, allocations: 361.5 kB / 455.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3833, allocations: 39.7 kB / 455.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.3849, allocations: 0.8066 MB / 456.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.3855, allocations: 0.8057 MB / 457.5 MB, free: 9.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.3857, allocations: 46 kB / 457.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3858, allocations: 35.19 kB / 457.5 MB, free: 9.172 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3858, allocations: 1.062 kB / 457.5 MB, free: 9.172 MB / 366.1 MB Notification: Performance of Templates: time 0.01099/0.3968, allocations: 4.514 MB / 462.1 MB, free: 7.906 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.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.599778685718775]