Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 73.88 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 147.2 kB / 24.49 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 50.77 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0851/0.08666, allocations: 52.16 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006731/0.09339, allocations: 5.003 MB / 376.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002938/0.09633, allocations: 1.705 MB / 378.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.09657, allocations: 16 kB / 378.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0037/0.1003, allocations: 1.578 MB / 379.9 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.1019, allocations: 0.742 MB / 380.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006219/0.1026, allocations: 275.5 kB / 380.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008726/0.1034, allocations: 0.8055 MB / 381.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.1046, allocations: 0.7355 MB / 382.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004109/0.105, allocations: 354.7 kB / 382.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005801/0.1056, allocations: 434.1 kB / 383.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.1057, allocations: 83.94 kB / 383.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.1062, allocations: 223.9 kB / 383.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.1063, allocations: 191.3 kB / 383.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.1067, allocations: 334.4 kB / 384 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.1081, allocations: 1.183 MB / 385.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1081, allocations: 4 kB / 385.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1081, allocations: 0 / 385.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.1081, allocations: 0 / 385.2 MB, free: 9.637 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003675/0.1118, allocations: 1.293 MB / 386.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1118, allocations: 12.92 kB / 386.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/0.1168, allocations: 0.6521 MB / 387.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007388/0.1175, allocations: 357.4 kB / 387.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/0.1176, allocations: 74.38 kB / 387.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.1177, allocations: 100.3 kB / 387.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.1196, allocations: 1.011 MB / 388.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.1196, allocations: 0 / 388.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/0.1197, allocations: 40 kB / 388.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.1197, allocations: 24 kB / 388.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.1214, allocations: 0.9135 MB / 389.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004539/0.126, allocations: 2.791 MB / 392.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.1279, allocations: 0.7443 MB / 393.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004478/0.1284, allocations: 252.4 kB / 393.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.846e-05/0.1284, allocations: 16.64 kB / 393.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1285, allocations: 39.22 kB / 393.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.234e-06/0.1285, allocations: 0 / 393.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001446/0.1299, allocations: 0.724 MB / 394.2 MB, free: 372 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.13, allocations: 115.7 kB / 394.3 MB, free: 232 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.1303, allocations: 265.6 kB / 394.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.1303, allocations: 33.7 kB / 394.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.1306, allocations: 403.9 kB / 395 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.1308, allocations: 226 kB / 395.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.131, allocations: 138.6 kB / 395.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1311, allocations: 342.8 kB / 395.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.1315, allocations: 229.9 kB / 395.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.1321, allocations: 435.4 kB / 396.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.1332, allocations: 0.7047 MB / 397.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1332, allocations: 0 / 397.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001312/0.1345, allocations: 0.7434 MB / 397.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.1346, allocations: 14.8 kB / 397.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.1346, allocations: 4 kB / 397.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.1346, allocations: 19.97 kB / 397.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007333/0.1353, allocations: 191.7 kB / 398 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.1354, allocations: 11.94 kB / 398 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.1358, allocations: 83.39 kB / 398.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.1358, allocations: 36 kB / 398.2 MB, free: 12.17 MB / 366.1 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.0002696/0.1361, allocations: 213.6 kB / 398.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.1362, allocations: 43.77 kB / 398.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.1375, allocations: 0.6539 MB / 399.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.1375, allocations: 15.92 kB / 399.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1375, allocations: 0 / 399.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1375, allocations: 0 / 399.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.1397, allocations: 1.253 MB / 400.3 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1397, allocations: 0 / 400.3 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/0.1403, allocations: 139.8 kB / 400.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1404, allocations: 8 kB / 400.5 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.1404, allocations: 16 kB / 400.5 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.1404, allocations: 4 kB / 400.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1404, allocations: 0 / 400.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.1422, allocations: 1.127 MB / 401.6 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.1422, allocations: 43.62 kB / 401.7 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.1423, allocations: 16 kB / 401.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.1426, allocations: 31.98 kB / 401.7 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.1428, allocations: 44.52 kB / 401.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.1428, allocations: 20 kB / 401.8 MB, free: 8.484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.143, allocations: 169.2 kB / 401.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.143, allocations: 0 / 401.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007365/0.1437, allocations: 231.3 kB / 402.2 MB, free: 8.09 MB / 366.1 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.0002473/0.144, allocations: 143 kB / 402.3 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.145, allocations: 0.5718 MB / 402.9 MB, free: 7.367 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.145, allocations: 0 / 402.9 MB, free: 7.367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.1455, allocations: 269.1 kB / 403.1 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.146, allocations: 36.5 kB / 403.2 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.1481, allocations: 1.263 MB / 404.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1485, allocations: 315.7 kB / 404.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002881/0.1488, allocations: 72.34 kB / 404.8 MB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.1489, allocations: 48.5 kB / 404.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1489, allocations: 0 / 404.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of Templates: time 0.01033/0.1592, allocations: 4.177 MB / 409 MB, free: 1.172 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.5468191229738295]