Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.001718/0.001718, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001523/0.001523, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.1 MB / 205 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.435e-05, allocations: 2.312 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.004686/0.00471, allocations: 4.995 MB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.007227, allocations: 1.776 MB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.007491, allocations: 16 kB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.008993, allocations: 1.248 MB / 281 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009897/0.009983, allocations: 0.6255 MB / 281.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007732/0.01076, allocations: 0.5801 MB / 282.2 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008194/0.01158, allocations: 0.7852 MB / 283 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000688/0.01226, allocations: 0.512 MB / 283.5 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004781/0.01274, allocations: 482.7 kB / 284 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.01304, allocations: 335.1 kB / 284.3 MB, free: 6.109 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.383e-05/0.01311, allocations: 64 kB / 284.4 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.01354, allocations: 247.6 kB / 284.6 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.053e-05/0.01363, allocations: 175.3 kB / 284.8 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.0138, allocations: 255.3 kB / 285 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007218/0.01452, allocations: 0.7316 MB / 285.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01453, allocations: 0 / 285.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01453, allocations: 0 / 285.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.01454, allocations: 0 / 285.8 MB, free: 4.648 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002209/0.01675, allocations: 1.436 MB / 287.2 MB, free: 3.172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.01679, allocations: 12.03 kB / 287.2 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/0.01988, allocations: 0.9797 MB / 288.2 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.02031, allocations: 359.4 kB / 288.6 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.02035, allocations: 54.38 kB / 288.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.252e-05/0.02045, allocations: 80.38 kB / 288.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007992/0.02125, allocations: 0.6171 MB / 289.3 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.02127, allocations: 7.938 kB / 289.3 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.114e-05/0.02132, allocations: 28 kB / 289.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.02133, allocations: 24 kB / 289.4 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.02206, allocations: 0.5308 MB / 289.9 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1205/0.1426, allocations: 2.16 MB / 292.1 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.1438, allocations: 0.7648 MB / 292.8 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.1441, allocations: 202 kB / 293 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.063e-05/0.1442, allocations: 33.52 kB / 293 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1442, allocations: 44.67 kB / 293.1 MB, free: 18.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 4.358e-06/0.1442, allocations: 0.5312 kB / 293.1 MB, free: 18.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.002062/0.1463, allocations: 1.007 MB / 294.1 MB, free: 18.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.1463, allocations: 63 kB / 294.2 MB, free: 18.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1465, allocations: 302 kB / 294.5 MB, free: 18.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.1465, allocations: 36.89 kB / 294.5 MB, free: 18.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.1467, allocations: 350.1 kB / 294.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.1468, allocations: 265.4 kB / 295.1 MB, free: 18.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.147, allocations: 130.1 kB / 295.2 MB, free: 18.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.147, allocations: 0.5225 MB / 295.7 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.1473, allocations: 134.1 kB / 295.9 MB, free: 17.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.1475, allocations: 306.2 kB / 296.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.1481, allocations: 485.3 kB / 296.6 MB, free: 17.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.1481, allocations: 1.156 kB / 296.6 MB, free: 17.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009535/0.149, allocations: 0.6828 MB / 297.3 MB, free: 17.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1491, allocations: 7.062 kB / 297.3 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.1491, allocations: 6.734 kB / 297.3 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000648/0.1497, allocations: 242 kB / 297.6 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.15, allocations: 131.6 kB / 297.7 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.152, allocations: 2.746 MB / 300.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.1522, allocations: 63.59 kB / 300.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.1522, allocations: 30.3 kB / 300.5 MB, free: 15.05 MB / 266.7 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 (73): * Single equations (assignments): 72 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.1523, allocations: 198.1 kB / 300.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.1524, allocations: 71.97 kB / 300.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000962/0.1534, allocations: 0.6839 MB / 301.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1534, allocations: 12.47 kB / 301.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.1534, allocations: 2.875 kB / 301.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1534, allocations: 6.859 kB / 301.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.1549, allocations: 1.324 MB / 302.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1549, allocations: 0 / 302.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.1552, allocations: 111.7 kB / 303 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005497/0.1557, allocations: 229.7 kB / 303.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.1558, allocations: 18.05 kB / 303.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.1574, allocations: 2.755 MB / 305.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1574, allocations: 0.7812 kB / 305.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.1585, allocations: 0.9354 MB / 306.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.1585, allocations: 57.39 kB / 306.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.1585, allocations: 16.59 kB / 307 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.1587, allocations: 28.78 kB / 307 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.1588, allocations: 54.28 kB / 307 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.1588, allocations: 29.91 kB / 307.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.993e-05/0.1589, allocations: 206.4 kB / 307.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1589, allocations: 0 / 307.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005895/0.1595, allocations: 241.4 kB / 307.5 MB, free: 11.02 MB / 266.7 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 (63): * Single equations (assignments): 62 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002252/0.1597, allocations: 161.9 kB / 307.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007445/0.1605, allocations: 0.7069 MB / 308.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1605, allocations: 0 / 308.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.1609, allocations: 0.5191 MB / 308.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.1612, allocations: 65 kB / 309 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1626, allocations: 1.052 MB / 310 MB, free: 9.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.97e-05/0.1627, allocations: 145 kB / 310.1 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.1628, allocations: 76.39 kB / 310.2 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.314e-05/0.1629, allocations: 54.53 kB / 310.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1629, allocations: 0 / 310.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of Templates: time 0.008772/0.1717, allocations: 7.49 MB / 317.8 MB, free: 4.398 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.286510488949716]