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.001539/0.001539, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001659/0.00166, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.462/1.462, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001129/0.001129, allocations: 47.94 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.1004, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.1836/0.284, allocations: 5.87 MB / 381 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.2875, allocations: 1.91 MB / 382.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008112/0.2884, allocations: 19.03 kB / 382.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003681/0.2921, allocations: 1.624 MB / 384.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.2947, allocations: 0.8363 MB / 385.4 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.2959, allocations: 280.3 kB / 385.7 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.2976, allocations: 0.8926 MB / 386.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.2993, allocations: 0.8788 MB / 387.4 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008963/0.3002, allocations: 397.2 kB / 387.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.3013, allocations: 0.5266 MB / 388.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000274/0.3016, allocations: 83.88 kB / 388.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009696/0.3026, allocations: 250.7 kB / 388.7 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002985/0.3029, allocations: 207.8 kB / 388.9 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007781/0.3037, allocations: 461.5 kB / 389.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.3052, allocations: 1.237 MB / 390.6 MB, free: 5.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3052, allocations: 1.156 kB / 390.6 MB, free: 5.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3053, allocations: 0 / 390.6 MB, free: 5.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.3053, allocations: 0 / 390.6 MB, free: 5.922 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.003385/0.3087, allocations: 1.422 MB / 392 MB, free: 5.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3087, allocations: 9.094 kB / 392 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007017/0.3157, allocations: 0.9691 MB / 393 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006847/0.3164, allocations: 446.3 kB / 393.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.3165, allocations: 81.95 kB / 393.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.3167, allocations: 111.9 kB / 393.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.3185, allocations: 1.131 MB / 394.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.3186, allocations: 1.188 kB / 394.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.44e-05/0.3187, allocations: 46.8 kB / 394.8 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.3187, allocations: 26.59 kB / 394.8 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.3206, allocations: 1.136 MB / 395.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004667/0.3252, allocations: 3.931 MB / 399.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/0.3284, allocations: 3.751 MB / 403.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005893/0.329, allocations: 325.5 kB / 403.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.3292, allocations: 96.34 kB / 404 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.3292, allocations: 47.41 kB / 404.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.635e-06/0.3292, allocations: 0 / 404.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001637/0.3309, allocations: 0.7577 MB / 404.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.331, allocations: 114.5 kB / 405 MB, free: 12.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.3314, allocations: 328 kB / 405.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.3315, allocations: 36.23 kB / 405.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.3318, allocations: 441.3 kB / 405.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.332, allocations: 243.5 kB / 406 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.3323, allocations: 184.2 kB / 406.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3324, allocations: 352.3 kB / 406.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.3329, allocations: 249.4 kB / 406.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006581/0.3336, allocations: 0.5622 MB / 407.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.3347, allocations: 0.8707 MB / 408.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.3348, allocations: 3.406 kB / 408.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001533/0.3363, allocations: 0.9037 MB / 409.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.3363, allocations: 13.72 kB / 409.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.3364, allocations: 14.42 kB / 409.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.069e-05/0.3364, allocations: 16.53 kB / 409.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007945/0.3372, allocations: 232.1 kB / 409.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.506e-05/0.3372, allocations: 23.58 kB / 409.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.3378, allocations: 104.2 kB / 409.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.3378, allocations: 47.14 kB / 409.5 MB, free: 9.027 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.0003149/0.3381, allocations: 241.1 kB / 409.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3383, allocations: 49.44 kB / 409.8 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.3395, allocations: 0.6791 MB / 410.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.3395, allocations: 9.094 kB / 410.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3395, allocations: 0 / 410.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3396, allocations: 5.391 kB / 410.5 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.342, allocations: 1.57 MB / 412.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.342, allocations: 6.594 kB / 412.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.3426, allocations: 146.7 kB / 412.2 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.3426, allocations: 4.094 kB / 412.2 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.3426, allocations: 13.53 kB / 412.2 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.3426, allocations: 8.438 kB / 412.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3426, allocations: 0 / 412.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.3443, allocations: 1.169 MB / 413.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.3445, allocations: 131.6 kB / 413.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.763e-05/0.3446, allocations: 17.56 kB / 413.6 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.345, allocations: 27.8 kB / 413.6 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.3451, allocations: 45.75 kB / 413.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.3451, allocations: 23.23 kB / 413.7 MB, free: 6.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.3454, allocations: 205.1 kB / 413.9 MB, free: 6.207 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.013e-06/0.3454, allocations: 0 / 413.9 MB, free: 6.207 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001089/0.3465, allocations: 255 kB / 414.1 MB, free: 6.125 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.0002687/0.3468, allocations: 148.8 kB / 414.3 MB, free: 6.004 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.348, allocations: 0.692 MB / 414.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.348, allocations: 1.375 kB / 414.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.3485, allocations: 326.3 kB / 415.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.349, allocations: 54.77 kB / 415.3 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.3512, allocations: 1.386 MB / 416.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.3517, allocations: 0.9241 MB / 417.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003429/0.3521, allocations: 96.88 kB / 417.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.3522, allocations: 55.42 kB / 417.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3522, allocations: 0 / 417.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of Templates: time 0.01011/0.3624, allocations: 5.214 MB / 423 MB, free: 14.24 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/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) Reference file matches