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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 110.1 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 190.3 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 51.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08381/0.08517, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.1885/0.2737, allocations: 5.878 MB / 381.7 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.2771, allocations: 1.907 MB / 383.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004514/0.2776, allocations: 20.16 kB / 383.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003519/0.2812, allocations: 1.623 MB / 385.2 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.2832, allocations: 0.83 MB / 386.1 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007207/0.2839, allocations: 292.2 kB / 386.4 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.285, allocations: 0.8921 MB / 387.2 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.2863, allocations: 0.8755 MB / 388.1 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.2868, allocations: 396.9 kB / 388.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005943/0.2874, allocations: 0.527 MB / 389 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.2875, allocations: 83.94 kB / 389.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006303/0.2882, allocations: 251.5 kB / 389.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.2883, allocations: 206.3 kB / 389.6 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.2887, allocations: 458 kB / 390 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.2902, allocations: 1.241 MB / 391.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2902, allocations: 0 / 391.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2903, allocations: 0 / 391.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.2903, allocations: 1.062 kB / 391.3 MB, free: 5.938 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.003453/0.2937, allocations: 1.421 MB / 392.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2938, allocations: 9.625 kB / 392.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006967/0.3008, allocations: 0.9663 MB / 393.6 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009202/0.3017, allocations: 450 kB / 394.1 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/0.3018, allocations: 81.77 kB / 394.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.302, allocations: 110.8 kB / 394.3 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.3041, allocations: 1.133 MB / 395.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.3042, allocations: 1.219 kB / 395.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/0.3043, allocations: 45.09 kB / 395.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.3043, allocations: 26.91 kB / 395.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.3063, allocations: 1.135 MB / 396.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005017/0.3113, allocations: 3.926 MB / 400.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/0.3143, allocations: 3.749 MB / 404.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.3148, allocations: 334.5 kB / 404.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.315, allocations: 96.61 kB / 404.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.315, allocations: 43.53 kB / 404.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.385e-06/0.315, allocations: 0 / 404.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001508/0.3165, allocations: 0.7571 MB / 405.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.3166, allocations: 118.2 kB / 405.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.317, allocations: 326.8 kB / 405.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.317, allocations: 39.95 kB / 406 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.3173, allocations: 445.5 kB / 406.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.3175, allocations: 242.2 kB / 406.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.3177, allocations: 176.8 kB / 406.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3179, allocations: 357 kB / 407.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004373/0.3183, allocations: 245.5 kB / 407.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000636/0.319, allocations: 0.5594 MB / 408 MB, free: 10.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.3201, allocations: 0.877 MB / 408.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.3201, allocations: 2.344 kB / 408.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001488/0.3216, allocations: 0.8966 MB / 409.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.3217, allocations: 12.41 kB / 409.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.3217, allocations: 18.81 kB / 409.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.3217, allocations: 16.28 kB / 409.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007901/0.3225, allocations: 236.7 kB / 410 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/0.3226, allocations: 19.41 kB / 410.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.3231, allocations: 112.2 kB / 410.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.3232, allocations: 43.53 kB / 410.2 MB, free: 9.039 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.000355/0.3235, allocations: 241.2 kB / 410.4 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.3237, allocations: 48.69 kB / 410.5 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.3249, allocations: 0.6833 MB / 411.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.3249, allocations: 8.875 kB / 411.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3249, allocations: 0 / 411.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.3249, allocations: 5.078 kB / 411.2 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.3273, allocations: 1.567 MB / 412.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.3273, allocations: 6.562 kB / 412.8 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.3279, allocations: 146.7 kB / 412.9 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/0.3279, allocations: 9.047 kB / 412.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.328, allocations: 13.19 kB / 412.9 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.328, allocations: 10.23 kB / 412.9 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.328, allocations: 0 / 412.9 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.3295, allocations: 1.166 MB / 414.1 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.3297, allocations: 134.4 kB / 414.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/0.3298, allocations: 16.91 kB / 414.2 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.3301, allocations: 22.52 kB / 414.3 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3303, allocations: 48.88 kB / 414.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.3303, allocations: 21.06 kB / 414.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.3305, allocations: 211.5 kB / 414.5 MB, free: 6.211 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3305, allocations: 7.875 kB / 414.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008963/0.3314, allocations: 245.5 kB / 414.8 MB, free: 6.129 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.0002647/0.3317, allocations: 140.7 kB / 414.9 MB, free: 6.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.3329, allocations: 0.696 MB / 415.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3329, allocations: 0 / 415.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.3334, allocations: 318.8 kB / 415.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.3339, allocations: 61.23 kB / 416 MB, free: 5.535 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.3364, allocations: 1.42 MB / 417.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.3369, allocations: 0.9281 MB / 418.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.3371, allocations: 63.42 kB / 418.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3371, allocations: 0 / 418.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of Templates: time 0.01122/0.3484, allocations: 8.066 MB / 426.5 MB, free: 11.44 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (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) 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) Reference file matches