Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001356/0.001356, allocations: 83.45 kB / 21.99 MB, free: 4.75 MB / 14.72 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.00145/0.00145, allocations: 157.4 kB / 25.24 MB, free: 2.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 63.86 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2138, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.00705/0.2208, allocations: 5.21 MB / 353.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003645/0.2245, allocations: 1.803 MB / 355.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003118/0.2248, allocations: 19.94 kB / 355.5 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003773/0.2286, allocations: 1.603 MB / 357.1 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.2303, allocations: 0.6567 MB / 357.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000912/0.2312, allocations: 391 kB / 358.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.2322, allocations: 0.8948 MB / 359.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.2334, allocations: 0.7745 MB / 359.8 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.2339, allocations: 398.5 kB / 360.2 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00066/0.2346, allocations: 477.9 kB / 360.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.2347, allocations: 84 kB / 360.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005374/0.2352, allocations: 235.8 kB / 361 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.2354, allocations: 211.2 kB / 361.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.2358, allocations: 378.2 kB / 361.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.2372, allocations: 1.244 MB / 362.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2372, allocations: 3.938 kB / 362.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2372, allocations: 0 / 362.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.2372, allocations: 8 kB / 362.8 MB, free: 1.113 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003684/0.2409, allocations: 1.375 MB / 364.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.241, allocations: 15.98 kB / 364.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007349/0.2483, allocations: 0.9564 MB / 365.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.2493, allocations: 401.2 kB / 365.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.2494, allocations: 82.55 kB / 365.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.2496, allocations: 104.3 kB / 365.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.2517, allocations: 1.158 MB / 366.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.2518, allocations: 0 / 366.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.92e-05/0.2519, allocations: 44 kB / 367 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.2519, allocations: 24 kB / 367 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.2539, allocations: 1.128 MB / 368.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005211/0.2591, allocations: 3.113 MB / 371.2 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.2615, allocations: 0.9017 MB / 372.1 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.262, allocations: 272.9 kB / 372.4 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/0.2621, allocations: 20.58 kB / 372.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.2621, allocations: 43.22 kB / 372.5 MB, free: 7.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.614e-06/0.2621, allocations: 0 / 372.5 MB, free: 7.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001535/0.2637, allocations: 0.7633 MB / 373.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.2637, allocations: 119.4 kB / 373.3 MB, free: 6.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.2641, allocations: 336.1 kB / 373.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.2641, allocations: 33.7 kB / 373.7 MB, free: 5.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.2644, allocations: 455.7 kB / 374.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.2646, allocations: 265.8 kB / 374.4 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.2649, allocations: 166.6 kB / 374.6 MB, free: 5.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2651, allocations: 354.8 kB / 374.9 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.2655, allocations: 249.9 kB / 375.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007447/0.2663, allocations: 0.5633 MB / 375.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.2675, allocations: 0.868 MB / 376.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.2676, allocations: 4 kB / 376.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001548/0.2691, allocations: 0.9073 MB / 377.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.2691, allocations: 8 kB / 377.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.2691, allocations: 15.94 kB / 377.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.2692, allocations: 16 kB / 377.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009103/0.2701, allocations: 231.6 kB / 377.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-05/0.2701, allocations: 23.92 kB / 377.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.2706, allocations: 107.6 kB / 377.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.2707, allocations: 44 kB / 377.9 MB, free: 1.387 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0003198/0.271, allocations: 237.5 kB / 378.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.2711, allocations: 47.72 kB / 378.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.2724, allocations: 0.6931 MB / 378.9 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.2724, allocations: 8 kB / 378.9 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2724, allocations: 0 / 378.9 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.2724, allocations: 3.984 kB / 378.9 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/0.2748, allocations: 1.347 MB / 380.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2748, allocations: 4 kB / 380.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/0.2754, allocations: 151.8 kB / 380.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.2754, allocations: 4 kB / 380.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.2755, allocations: 15.94 kB / 380.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.2755, allocations: 8 kB / 380.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2755, allocations: 0 / 380.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.2772, allocations: 1.163 MB / 381.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.222e-05/0.2773, allocations: 59.52 kB / 381.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.2774, allocations: 15.94 kB / 381.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.2778, allocations: 23.98 kB / 381.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.2779, allocations: 52.5 kB / 381.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.278, allocations: 24 kB / 381.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002163/0.2782, allocations: 199.1 kB / 382 MB, free: 13.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2782, allocations: 0 / 382 MB, free: 13.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008646/0.279, allocations: 251.4 kB / 382.2 MB, free: 13.02 MB / 350.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 (78): * Single equations (assignments): 78 * 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.00024/0.2793, allocations: 143.1 kB / 382.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.2805, allocations: 0.6479 MB / 383 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2805, allocations: 0 / 383 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.281, allocations: 279.6 kB / 383.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.2816, allocations: 44.66 kB / 383.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.284, allocations: 1.417 MB / 384.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.2843, allocations: 333.2 kB / 385.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003297/0.2846, allocations: 88.84 kB / 385.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.2848, allocations: 56.48 kB / 385.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2848, allocations: 4 kB / 385.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of Templates: time 0.01114/0.2959, allocations: 4.536 MB / 389.8 MB, free: 5.418 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.426269393996336]