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.001358/0.001358, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001472/0.001472, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.519/1.519, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.002071/0.002071, allocations: 55.92 kB / 347.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2838, allocations: 49.15 MB / 396.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005703/0.2895, allocations: 5.217 MB / 402.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003356/0.2929, allocations: 1.802 MB / 403.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.2932, allocations: 19.56 kB / 403.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.2964, allocations: 1.509 MB / 405.4 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.298, allocations: 0.6593 MB / 406.1 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.2988, allocations: 393 kB / 406.4 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007908/0.2996, allocations: 0.8994 MB / 407.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009701/0.3005, allocations: 0.7622 MB / 408.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003819/0.3009, allocations: 407.6 kB / 408.5 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005695/0.3015, allocations: 479.4 kB / 409 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.3016, allocations: 83.56 kB / 409 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005025/0.3021, allocations: 233.9 kB / 409.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3023, allocations: 206.8 kB / 409.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000295/0.3026, allocations: 377.7 kB / 409.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.3039, allocations: 1.249 MB / 411.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3039, allocations: 0 / 411.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3039, allocations: 4 kB / 411.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.3039, allocations: 0 / 411.1 MB, free: 0.7383 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.003187/0.3071, allocations: 1.371 MB / 412.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3071, allocations: 20.78 kB / 412.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007239/0.3144, allocations: 0.97 MB / 413.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.3155, allocations: 390.3 kB / 413.8 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-05/0.3156, allocations: 81.52 kB / 413.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.3158, allocations: 109.9 kB / 414 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.3179, allocations: 1.156 MB / 415.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.3179, allocations: 1.188 kB / 415.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.318, allocations: 45.88 kB / 415.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.3181, allocations: 30 kB / 415.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.3201, allocations: 1.121 MB / 416.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005522/0.3256, allocations: 3.104 MB / 419.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.3279, allocations: 0.9071 MB / 420.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/0.3284, allocations: 276.3 kB / 420.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.62e-05/0.3285, allocations: 17.3 kB / 420.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.3285, allocations: 43.91 kB / 420.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.885e-06/0.3285, allocations: 0 / 420.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001703/0.3302, allocations: 0.7616 MB / 421.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.3304, allocations: 119.6 kB / 421.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.3309, allocations: 325.7 kB / 421.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.3309, allocations: 37.95 kB / 422 MB, free: 9.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.3313, allocations: 463.7 kB / 422.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.3316, allocations: 261.8 kB / 422.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.3318, allocations: 174.5 kB / 422.8 MB, free: 8.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.3321, allocations: 355 kB / 423.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.3325, allocations: 249.9 kB / 423.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/0.3333, allocations: 0.5669 MB / 424 MB, free: 7.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.3346, allocations: 0.8719 MB / 424.9 MB, free: 6.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.3346, allocations: 4 kB / 424.9 MB, free: 6.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001585/0.3362, allocations: 0.8992 MB / 425.8 MB, free: 5.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.3363, allocations: 8 kB / 425.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.3363, allocations: 19.88 kB / 425.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/0.3363, allocations: 16 kB / 425.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/0.3372, allocations: 231.6 kB / 426 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.305e-05/0.3372, allocations: 24.42 kB / 426.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/0.3378, allocations: 103.3 kB / 426.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-05/0.3379, allocations: 47.98 kB / 426.2 MB, free: 5.168 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.0005068/0.3384, allocations: 241.5 kB / 426.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.3386, allocations: 43.72 kB / 426.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.34, allocations: 0.6815 MB / 427.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.34, allocations: 11.98 kB / 427.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.34, allocations: 4 kB / 427.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.34, allocations: 3.984 kB / 427.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.3427, allocations: 1.343 MB / 428.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3427, allocations: 3.938 kB / 428.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/0.3433, allocations: 143.8 kB / 428.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.3433, allocations: 4 kB / 428.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/0.3434, allocations: 27.92 kB / 428.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.3434, allocations: 4 kB / 428.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3434, allocations: 4 kB / 428.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.3451, allocations: 1.163 MB / 429.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3452, allocations: 51.48 kB / 429.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/0.3453, allocations: 23.94 kB / 429.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.3457, allocations: 19.98 kB / 430 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3458, allocations: 52.56 kB / 430 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.3458, allocations: 19.94 kB / 430 MB, free: 1.258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.346, allocations: 203.1 kB / 430.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.346, allocations: 0 / 430.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001004/0.347, allocations: 251.3 kB / 430.5 MB, free: 0.8164 MB / 334.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.0002985/0.3473, allocations: 147.2 kB / 430.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.3486, allocations: 0.6434 MB / 431.3 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3486, allocations: 0 / 431.3 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.3491, allocations: 283.6 kB / 431.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.3496, allocations: 49.83 kB / 431.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.3522, allocations: 1.412 MB / 433 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.3526, allocations: 333.2 kB / 433.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000357/0.353, allocations: 88.84 kB / 433.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3531, allocations: 55.42 kB / 433.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3531, allocations: 0 / 433.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01264/0.3658, allocations: 5.407 MB / 438.9 MB, free: 8.336 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/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.867286637425423]