Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.0009138/0.0009138, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001459/0.001459, allocations: 165.9 kB / 24.99 MB, free: 8.793 MB / 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 0.9167/0.9167, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.478e-05, allocations: 9.547 kB / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005162/0.005187, allocations: 5.463 MB / 278.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.0079, allocations: 1.814 MB / 280.3 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.008213, allocations: 16 kB / 280.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.01002, allocations: 1.711 MB / 282.1 MB, free: 8.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008657/0.01088, allocations: 0.5864 MB / 282.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.01137, allocations: 410.7 kB / 283.1 MB, free: 7.801 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006321/0.012, allocations: 0.8324 MB / 283.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008235/0.01282, allocations: 0.7393 MB / 284.6 MB, free: 6.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004635/0.01329, allocations: 0.5145 MB / 285.1 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.01362, allocations: 382.9 kB / 285.5 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.469e-05/0.01369, allocations: 76 kB / 285.6 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.01401, allocations: 243.6 kB / 285.8 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.442e-05/0.0141, allocations: 191.3 kB / 286 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.01428, allocations: 287.3 kB / 286.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006623/0.01494, allocations: 0.7744 MB / 287.1 MB, free: 3.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01495, allocations: 0 / 287.1 MB, free: 3.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01495, allocations: 4 kB / 287.1 MB, free: 3.746 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.01496, allocations: 0 / 287.1 MB, free: 3.746 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001939/0.0169, allocations: 1.412 MB / 288.5 MB, free: 2.297 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.01693, allocations: 8.031 kB / 288.5 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002724/0.01966, allocations: 0.8079 MB / 289.3 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.02005, allocations: 367.4 kB / 289.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.0201, allocations: 74.38 kB / 289.7 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.02019, allocations: 96.38 kB / 289.8 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008953/0.02108, allocations: 0.8096 MB / 290.6 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.0211, allocations: 4.141 kB / 290.6 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.02116, allocations: 36.38 kB / 290.7 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.02118, allocations: 27.94 kB / 290.7 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1023/0.1235, allocations: 0.5347 MB / 291.2 MB, free: 28.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.1265, allocations: 2.906 MB / 294.1 MB, free: 27.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.1277, allocations: 0.7669 MB / 294.9 MB, free: 26.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.1279, allocations: 181.6 kB / 295.1 MB, free: 26.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-05/0.128, allocations: 35.67 kB / 295.1 MB, free: 26.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.128, allocations: 47.02 kB / 295.2 MB, free: 26.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.855e-06/0.128, allocations: 1.656 kB / 295.2 MB, free: 26.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.00071/0.1287, allocations: 0.5105 MB / 295.7 MB, free: 26.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.1287, allocations: 120.2 kB / 295.8 MB, free: 26.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1289, allocations: 319.9 kB / 296.1 MB, free: 26.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1289, allocations: 36.27 kB / 296.1 MB, free: 26.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1291, allocations: 442.8 kB / 296.6 MB, free: 25.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.722e-05/0.1292, allocations: 236.7 kB / 296.8 MB, free: 25.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.1293, allocations: 150.5 kB / 297 MB, free: 25.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.1294, allocations: 0.5189 MB / 297.5 MB, free: 25.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.1295, allocations: 130.5 kB / 297.6 MB, free: 25.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.1298, allocations: 432.5 kB / 298 MB, free: 24.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.1303, allocations: 0.6046 MB / 298.6 MB, free: 24.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1303, allocations: 2.062 kB / 298.6 MB, free: 24.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000677/0.131, allocations: 0.6079 MB / 299.2 MB, free: 24.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.131, allocations: 7.312 kB / 299.2 MB, free: 24.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.131, allocations: 7.062 kB / 299.3 MB, free: 24.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.131, allocations: 10.33 kB / 299.3 MB, free: 24.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.1314, allocations: 185.8 kB / 299.4 MB, free: 24.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.1314, allocations: 19.31 kB / 299.5 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.1316, allocations: 82.36 kB / 299.5 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.1316, allocations: 36.89 kB / 299.6 MB, free: 23.94 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.1318, allocations: 203.4 kB / 299.8 MB, free: 23.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.1318, allocations: 59.22 kB / 299.8 MB, free: 23.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/0.1325, allocations: 0.4891 MB / 300.3 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.1325, allocations: 7.906 kB / 300.3 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1325, allocations: 3.938 kB / 300.3 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.1325, allocations: 6.484 kB / 300.3 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.1337, allocations: 1.17 MB / 301.5 MB, free: 22.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1337, allocations: 8.797 kB / 301.5 MB, free: 22.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.134, allocations: 133.6 kB / 301.7 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.134, allocations: 3.531 kB / 301.7 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.134, allocations: 23.19 kB / 301.7 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.134, allocations: 8.266 kB / 301.7 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.134, allocations: 0 / 301.7 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007187/0.1348, allocations: 0.965 MB / 302.7 MB, free: 22.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.1348, allocations: 49.75 kB / 302.7 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.1348, allocations: 12.88 kB / 302.7 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.135, allocations: 17.2 kB / 302.7 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.1351, allocations: 53.52 kB / 302.8 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.1351, allocations: 19.62 kB / 302.8 MB, free: 22.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.829e-05/0.1352, allocations: 199 kB / 303 MB, free: 22.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1352, allocations: 0 / 303 MB, free: 22.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004766/0.1357, allocations: 228 kB / 303.2 MB, free: 22.04 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,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 (72): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001742/0.1358, allocations: 150.9 kB / 303.4 MB, free: 21.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.1363, allocations: 456.6 kB / 303.8 MB, free: 21.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1363, allocations: 0 / 303.8 MB, free: 21.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.1366, allocations: 219.5 kB / 304 MB, free: 21.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.1369, allocations: 47.72 kB / 304.1 MB, free: 21.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.1384, allocations: 1.16 MB / 305.2 MB, free: 21.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.634e-05/0.1385, allocations: 139 kB / 305.4 MB, free: 21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.1387, allocations: 77.09 kB / 305.4 MB, free: 20.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/0.1388, allocations: 51.61 kB / 305.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1388, allocations: 0 / 305.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of Templates: time 0.006043/0.1448, allocations: 4.398 MB / 309.9 MB, free: 17.78 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.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.786617641802877]