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.001072/0.001072, allocations: 107.3 kB / 18.4 MB, free: 4.68 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.001101/0.001101, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.249/1.249, allocations: 205.1 MB / 225.2 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: 51.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06968/0.07082, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.1465/0.2174, allocations: 5.873 MB / 381.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.2201, allocations: 1.909 MB / 383.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.2204, allocations: 18.88 kB / 383.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.2234, allocations: 1.625 MB / 385.2 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.2248, allocations: 0.8337 MB / 386.1 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.2253, allocations: 279.9 kB / 386.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006924/0.226, allocations: 0.8927 MB / 387.2 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.227, allocations: 0.8748 MB / 388.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.2273, allocations: 397.2 kB / 388.5 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.2279, allocations: 0.535 MB / 389 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.228, allocations: 82.84 kB / 389.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/0.2285, allocations: 244.4 kB / 389.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.2286, allocations: 207 kB / 389.6 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.2289, allocations: 470 kB / 390 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.23, allocations: 1.228 MB / 391.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.23, allocations: 4 kB / 391.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.23, allocations: 0 / 391.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.2301, allocations: 0 / 391.3 MB, free: 5.941 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.003021/0.2331, allocations: 1.43 MB / 392.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2331, allocations: 9.094 kB / 392.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006986/0.2401, allocations: 0.9622 MB / 393.7 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.2407, allocations: 449.9 kB / 394.1 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.2407, allocations: 78.2 kB / 394.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.2409, allocations: 109.7 kB / 394.3 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.2427, allocations: 1.137 MB / 395.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.2427, allocations: 1.891 kB / 395.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.025e-05/0.2428, allocations: 44.69 kB / 395.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.2428, allocations: 27.47 kB / 395.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.2447, allocations: 1.139 MB / 396.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00441/0.2491, allocations: 3.922 MB / 400.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.252, allocations: 3.756 MB / 404.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.2525, allocations: 321.8 kB / 404.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.549e-05/0.2526, allocations: 96.78 kB / 404.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.2527, allocations: 50.56 kB / 404.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.104e-06/0.2527, allocations: 0 / 404.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001394/0.2541, allocations: 0.7562 MB / 405.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.2541, allocations: 111.3 kB / 405.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.2545, allocations: 328.8 kB / 405.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.2545, allocations: 36.17 kB / 406 MB, free: 12.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.2547, allocations: 445.8 kB / 406.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.2549, allocations: 250 kB / 406.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.2551, allocations: 168.4 kB / 406.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.2553, allocations: 360.8 kB / 407.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/0.2557, allocations: 244.7 kB / 407.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006743/0.2564, allocations: 0.5598 MB / 408 MB, free: 10.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.2576, allocations: 0.8762 MB / 408.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.2576, allocations: 2.312 kB / 408.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001425/0.259, allocations: 0.9041 MB / 409.8 MB, free: 9.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.259, allocations: 14.03 kB / 409.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.259, allocations: 10.22 kB / 409.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.2591, allocations: 24.12 kB / 409.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007825/0.2599, allocations: 240.6 kB / 410 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.2599, allocations: 19.41 kB / 410.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.2604, allocations: 108.1 kB / 410.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.2605, allocations: 39.59 kB / 410.2 MB, free: 9.047 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.0002716/0.2607, allocations: 240.9 kB / 410.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.2609, allocations: 53.5 kB / 410.5 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.2621, allocations: 0.6791 MB / 411.2 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.2621, allocations: 5.453 kB / 411.2 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2621, allocations: 3.938 kB / 411.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.2622, allocations: 127.7 kB / 411.3 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.855e-05/0.2623, allocations: 16.16 kB / 411.3 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.2627, allocations: 23.45 kB / 411.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.2628, allocations: 46.62 kB / 411.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001344/0.2641, allocations: 0.878 MB / 412.3 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001577/0.2657, allocations: 1.238 MB / 413.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004369/0.2661, allocations: 291.8 kB / 413.8 MB, free: 6.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.2663, allocations: 212.7 kB / 414 MB, free: 6.562 MB / 334.1 MB Notification: Performance of Backend: time 5.01e-07/0.2664, allocations: 2.188 kB / 414 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.2677, allocations: 0.6291 MB / 414.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of SimCode: time 0.001848/0.2696, allocations: 1.606 MB / 416.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of Templates: time 0.01353/0.2832, allocations: 7.932 MB / 424.2 MB, free: 13.82 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