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.001944/0.001945, allocations: 119.4 kB / 18.41 MB, free: 4.637 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.002188/0.002188, allocations: 192.3 kB / 21.35 MB, free: 1.699 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.479/1.479, allocations: 222.9 MB / 247 MB, free: 4.332 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.001567/0.001567, allocations: 51.92 kB / 358.7 MB, free: 8.461 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09402, allocations: 49.43 MB / 408.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007182/0.1012, allocations: 5.609 MB / 413.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.1048, allocations: 1.81 MB / 415.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003937/0.1052, allocations: 19.94 kB / 415.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00368/0.1089, allocations: 1.61 MB / 417.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.111, allocations: 0.7498 MB / 417.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.1117, allocations: 277.9 kB / 418.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009949/0.1127, allocations: 0.7979 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.114, allocations: 0.868 MB / 419.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.1145, allocations: 358.6 kB / 420.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.1151, allocations: 494.2 kB / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.1152, allocations: 80 kB / 420.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005229/0.1157, allocations: 243.8 kB / 421 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.1159, allocations: 183.3 kB / 421.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004138/0.1163, allocations: 418 kB / 421.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.1177, allocations: 1.171 MB / 422.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1177, allocations: 0 / 422.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.1177, allocations: 3.938 kB / 422.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.1177, allocations: 7.938 kB / 422.8 MB, free: 8.25 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.003496/0.1213, allocations: 1.366 MB / 424.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1213, allocations: 12.03 kB / 424.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/0.1262, allocations: 0.6521 MB / 424.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007407/0.1269, allocations: 423.1 kB / 425.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.416e-05/0.127, allocations: 70.38 kB / 425.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.1272, allocations: 100.3 kB / 425.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.129, allocations: 0.9902 MB / 426.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.129, allocations: 0 / 426.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.745e-05/0.1291, allocations: 40 kB / 426.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.1291, allocations: 27.98 kB / 426.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.1308, allocations: 0.918 MB / 427.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004953/0.1358, allocations: 3.344 MB / 430.7 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1688/0.3046, allocations: 2.237 MB / 432.9 MB, free: 20.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/0.3051, allocations: 290.1 kB / 433.2 MB, free: 20.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.364e-05/0.3052, allocations: 94.83 kB / 433.3 MB, free: 20.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3052, allocations: 44.78 kB / 433.3 MB, free: 20.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 3.125e-06/0.3052, allocations: 0 / 433.3 MB, free: 20.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001257/0.3065, allocations: 0.716 MB / 434.1 MB, free: 20.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3065, allocations: 114.2 kB / 434.2 MB, free: 19.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.3068, allocations: 275 kB / 434.4 MB, free: 19.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.3068, allocations: 37.17 kB / 434.5 MB, free: 19.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.307, allocations: 392.6 kB / 434.9 MB, free: 19.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.3071, allocations: 237.1 kB / 435.1 MB, free: 19.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.3073, allocations: 131.5 kB / 435.2 MB, free: 19.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.3074, allocations: 351.3 kB / 435.6 MB, free: 19.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.3077, allocations: 220.5 kB / 435.8 MB, free: 19.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.3082, allocations: 434.1 kB / 436.2 MB, free: 18.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008367/0.309, allocations: 0.7007 MB / 436.9 MB, free: 18.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.309, allocations: 2.719 kB / 436.9 MB, free: 18.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001266/0.3103, allocations: 0.749 MB / 437.7 MB, free: 18.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.3103, allocations: 11.45 kB / 437.7 MB, free: 18.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3103, allocations: 6.125 kB / 437.7 MB, free: 18.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.3104, allocations: 11.31 kB / 437.7 MB, free: 18.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/0.3111, allocations: 193.5 kB / 437.9 MB, free: 18.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/0.3111, allocations: 17.7 kB / 437.9 MB, free: 18.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.3115, allocations: 82.47 kB / 438 MB, free: 18.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.3116, allocations: 35.73 kB / 438 MB, free: 18.57 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.0002348/0.3118, allocations: 220.2 kB / 438.2 MB, free: 18.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3119, allocations: 38.98 kB / 438.3 MB, free: 18.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.3131, allocations: 0.6483 MB / 438.9 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.3131, allocations: 9.812 kB / 438.9 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3131, allocations: 1.156 kB / 438.9 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.3131, allocations: 5.234 kB / 438.9 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.3153, allocations: 1.481 MB / 440.4 MB, free: 18.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3153, allocations: 1.156 kB / 440.4 MB, free: 18.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.3159, allocations: 139.8 kB / 440.5 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.3159, allocations: 3.312 kB / 440.5 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.316, allocations: 17.36 kB / 440.6 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.316, allocations: 3.812 kB / 440.6 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.316, allocations: 4.156 kB / 440.6 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.3174, allocations: 1.123 MB / 441.7 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.3175, allocations: 125.3 kB / 441.8 MB, free: 17.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.3176, allocations: 14.97 kB / 441.8 MB, free: 17.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.3179, allocations: 19.66 kB / 441.8 MB, free: 17.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.318, allocations: 48.5 kB / 441.9 MB, free: 17.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.3181, allocations: 20.36 kB / 441.9 MB, free: 17.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.3183, allocations: 183.9 kB / 442.1 MB, free: 17.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3183, allocations: 0 / 442.1 MB, free: 17.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007504/0.319, allocations: 229.2 kB / 442.3 MB, free: 17.42 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 (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.0002319/0.3193, allocations: 159 kB / 442.5 MB, free: 17.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.3203, allocations: 0.6085 MB / 443.1 MB, free: 17.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3203, allocations: 0 / 443.1 MB, free: 17.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.3208, allocations: 305.6 kB / 443.4 MB, free: 17.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.3213, allocations: 47.58 kB / 443.4 MB, free: 17.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.3231, allocations: 1.299 MB / 444.7 MB, free: 16.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.3235, allocations: 0.9001 MB / 445.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.3237, allocations: 56.3 kB / 445.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3237, allocations: 0 / 445.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of Templates: time 0.01163/0.3353, allocations: 7.259 MB / 452.9 MB, free: 14.65 MB / 350.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.306313726003282]