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.001413/0.001413, allocations: 108.8 kB / 21.19 MB, free: 0.7578 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.001521/0.001521, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.454/1.454, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.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.001575/0.001575, allocations: 47.92 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2304, allocations: 52.18 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007712/0.2381, allocations: 5.666 MB / 429.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003604/0.2417, allocations: 1.822 MB / 431.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005691/0.2423, allocations: 16 kB / 431.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003875/0.2462, allocations: 1.637 MB / 433 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.2481, allocations: 0.7577 MB / 433.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.2488, allocations: 270.6 kB / 434 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.25, allocations: 0.8094 MB / 434.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.2512, allocations: 0.7585 MB / 435.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005161/0.2517, allocations: 370.7 kB / 436 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006083/0.2524, allocations: 494.2 kB / 436.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.2525, allocations: 76 kB / 436.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004715/0.2529, allocations: 239.8 kB / 436.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.2531, allocations: 187.3 kB / 436.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.2535, allocations: 422 kB / 437.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.2548, allocations: 1.173 MB / 438.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2548, allocations: 0 / 438.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2548, allocations: 0 / 438.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.2548, allocations: 0 / 438.5 MB, free: 15.95 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.003208/0.258, allocations: 1.293 MB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2581, allocations: 12.03 kB / 439.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00466/0.2627, allocations: 0.6482 MB / 440.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.2634, allocations: 368.4 kB / 440.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.138e-05/0.2635, allocations: 70.38 kB / 440.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.2636, allocations: 104.3 kB / 441 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.2653, allocations: 0.9863 MB / 442 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.2653, allocations: 0 / 442 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/0.2654, allocations: 40 kB / 442 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.2654, allocations: 24 kB / 442.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.2671, allocations: 0.9174 MB / 443 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0047/0.2718, allocations: 3.17 MB / 446.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.2736, allocations: 0.7561 MB / 446.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.274, allocations: 263.6 kB / 447.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.112e-05/0.2741, allocations: 12.64 kB / 447.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.2741, allocations: 47.16 kB / 447.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.184e-06/0.2741, allocations: 0 / 447.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001565/0.2757, allocations: 0.7243 MB / 447.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.2758, allocations: 111.5 kB / 448.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.2761, allocations: 273.8 kB / 448.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.2762, allocations: 37.7 kB / 448.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.2764, allocations: 384 kB / 448.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.2766, allocations: 242 kB / 449 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.2768, allocations: 130.6 kB / 449.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.277, allocations: 350.9 kB / 449.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.2774, allocations: 229.8 kB / 449.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/0.278, allocations: 431.4 kB / 450.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.2792, allocations: 0.6968 MB / 450.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2792, allocations: 0 / 450.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001295/0.2805, allocations: 0.7512 MB / 451.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2805, allocations: 14.44 kB / 451.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.2805, allocations: 8 kB / 451.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.2806, allocations: 12 kB / 451.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/0.2813, allocations: 183.7 kB / 451.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/0.2813, allocations: 15.94 kB / 451.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.2817, allocations: 87.39 kB / 451.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.2817, allocations: 36.09 kB / 451.9 MB, free: 2.098 MB / 350.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.0002911/0.282, allocations: 221.6 kB / 452.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.2821, allocations: 47.66 kB / 452.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.2834, allocations: 0.65 MB / 452.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.2834, allocations: 4 kB / 452.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.2834, allocations: 4 kB / 452.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.2834, allocations: 3.984 kB / 452.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.2858, allocations: 1.447 MB / 454.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2858, allocations: 0 / 454.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/0.2864, allocations: 139.8 kB / 454.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.2864, allocations: 4 kB / 454.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.2864, allocations: 20 kB / 454.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.2864, allocations: 7.938 kB / 454.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2864, allocations: 0 / 454.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.2881, allocations: 1.112 MB / 455.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.2882, allocations: 63.53 kB / 455.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.2883, allocations: 12 kB / 455.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.2886, allocations: 31.92 kB / 455.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.2887, allocations: 48.52 kB / 455.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.2888, allocations: 20 kB / 455.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.289, allocations: 185.2 kB / 455.9 MB, free: 14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.289, allocations: 0 / 455.9 MB, free: 14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007303/0.2897, allocations: 223.4 kB / 456.1 MB, free: 13.79 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.0002306/0.2899, allocations: 139.1 kB / 456.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.291, allocations: 0.5753 MB / 456.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.291, allocations: 1.75 kB / 456.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004769/0.2915, allocations: 267.6 kB / 457.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.292, allocations: 44.56 kB / 457.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.2942, allocations: 1.304 MB / 458.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.2948, allocations: 0.8967 MB / 459.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.295, allocations: 59.42 kB / 459.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.295, allocations: 4 kB / 459.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of Templates: time 0.01145/0.3064, allocations: 7.303 MB / 466.7 MB, free: 3.117 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 -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: 7.105562399839982]