Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.0009729/0.0009729, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001084/0.001084, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.9298/0.9298, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.407e-05, allocations: 6.312 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.005938/0.005962, allocations: 4.93 MB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.008569, allocations: 1.83 MB / 280.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.00883, allocations: 16 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.01016, allocations: 1.248 MB / 281.5 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009074/0.01106, allocations: 0.6098 MB / 282.1 MB, free: 8.336 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007111/0.01178, allocations: 0.5838 MB / 282.7 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006894/0.01247, allocations: 0.7852 MB / 283.4 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006128/0.01308, allocations: 0.5606 MB / 284 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004664/0.01354, allocations: 478.8 kB / 284.5 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.01382, allocations: 343 kB / 284.8 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.01388, allocations: 64 kB / 284.9 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.01429, allocations: 263.6 kB / 285.1 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.01438, allocations: 167.3 kB / 285.3 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.0148, allocations: 259.3 kB / 285.5 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.01548, allocations: 0.7277 MB / 286.3 MB, free: 4.125 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.01548, allocations: 0 / 286.3 MB, free: 4.125 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01548, allocations: 0 / 286.3 MB, free: 4.125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.01549, allocations: 3.984 kB / 286.3 MB, free: 4.121 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.002032/0.01752, allocations: 1.369 MB / 287.6 MB, free: 2.723 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.01755, allocations: 15.98 kB / 287.7 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/0.02083, allocations: 1.101 MB / 288.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.02118, allocations: 240.8 kB / 289 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.02121, allocations: 58.38 kB / 289 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.029e-05/0.02128, allocations: 76.38 kB / 289.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.02181, allocations: 0.5623 MB / 289.7 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.02183, allocations: 7.922 kB / 289.7 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.02187, allocations: 32 kB / 289.7 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.02188, allocations: 20 kB / 289.7 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.0223, allocations: 369.7 kB / 290.1 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1034/0.1257, allocations: 1.748 MB / 291.8 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000848/0.1265, allocations: 0.6357 MB / 292.5 MB, free: 18.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.1267, allocations: 143.2 kB / 292.6 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.318e-05/0.1268, allocations: 36 kB / 292.7 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.1268, allocations: 44.5 kB / 292.7 MB, free: 18.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.274e-06/0.1268, allocations: 0.6562 kB / 292.7 MB, free: 18.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001399/0.1282, allocations: 0.7765 MB / 293.5 MB, free: 18.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.845e-05/0.1282, allocations: 60.7 kB / 293.5 MB, free: 18.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1284, allocations: 235.1 kB / 293.8 MB, free: 18.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1284, allocations: 40.2 kB / 293.8 MB, free: 18.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.1285, allocations: 283.4 kB / 294.1 MB, free: 18.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.1286, allocations: 263.3 kB / 294.3 MB, free: 18.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.1287, allocations: 131.6 kB / 294.5 MB, free: 18.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.1287, allocations: 350.9 kB / 294.8 MB, free: 18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1288, allocations: 82.64 kB / 294.9 MB, free: 18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.129, allocations: 212.1 kB / 295.1 MB, free: 17.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.1293, allocations: 367.5 kB / 295.5 MB, free: 17.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1293, allocations: 1.766 kB / 295.5 MB, free: 17.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.000623/0.13, allocations: 496.2 kB / 295.9 MB, free: 17.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.13, allocations: 6.438 kB / 296 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.13, allocations: 7.125 kB / 296 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005014/0.1305, allocations: 214.2 kB / 296.2 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.1308, allocations: 139.7 kB / 296.3 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.1321, allocations: 1.933 MB / 298.2 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.1322, allocations: 62.31 kB / 298.3 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.1323, allocations: 19.64 kB / 298.3 MB, free: 16.35 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.0001078/0.1324, allocations: 153.2 kB / 298.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.1324, allocations: 49.72 kB / 298.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/0.1331, allocations: 0.5169 MB / 299 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1331, allocations: 8.344 kB / 299 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1331, allocations: 4.922 kB / 299 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.1331, allocations: 5.641 kB / 299.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.1341, allocations: 0.8913 MB / 299.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1341, allocations: 0 / 299.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.1344, allocations: 114.5 kB / 300.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004407/0.1348, allocations: 214.2 kB / 300.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.1348, allocations: 13.31 kB / 300.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.1361, allocations: 1.931 MB / 302.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1361, allocations: 0 / 302.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007091/0.1368, allocations: 0.6692 MB / 302.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.1369, allocations: 51.7 kB / 302.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.1369, allocations: 9.906 kB / 302.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.137, allocations: 26.73 kB / 303 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.1371, allocations: 60.78 kB / 303 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.1372, allocations: 13.52 kB / 303 MB, free: 14.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.1372, allocations: 77.59 kB / 303.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1372, allocations: 1.406 kB / 303.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000505/0.1377, allocations: 247 kB / 303.4 MB, free: 14.35 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.0001823/0.1379, allocations: 135.7 kB / 303.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005729/0.1385, allocations: 0.5566 MB / 304 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.1385, allocations: 2.531 kB / 304 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.1388, allocations: 411.2 kB / 304.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.139, allocations: 63.19 kB / 304.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1401, allocations: 1.019 MB / 305.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.893e-05/0.1402, allocations: 151.5 kB / 305.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.1403, allocations: 73.22 kB / 305.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.1405, allocations: 126.7 kB / 305.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1405, allocations: 0 / 305.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of Templates: time 0.009415/0.1499, allocations: 8.056 MB / 313.9 MB, free: 8.418 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.6775539498776197]