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.001105/0.001105, allocations: 114.5 kB / 18.41 MB, free: 4.691 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.001209/0.001209, allocations: 190.1 kB / 19.35 MB, free: 3.762 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.327/1.327, 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.001231/0.001231, allocations: 55.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07293/0.07417, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.1531/0.2273, allocations: 5.877 MB / 381.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.2299, allocations: 1.9 MB / 383.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.2302, allocations: 24.31 kB / 383.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003063/0.2333, allocations: 1.632 MB / 385.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.2348, allocations: 0.8294 MB / 386.1 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.2354, allocations: 287.9 kB / 386.4 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007311/0.2361, allocations: 0.8928 MB / 387.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.2372, allocations: 0.8743 MB / 388.1 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.2375, allocations: 394.9 kB / 388.5 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005129/0.238, allocations: 0.526 MB / 389 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.2382, allocations: 83.16 kB / 389.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.2386, allocations: 248.3 kB / 389.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2388, allocations: 202.9 kB / 389.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.2391, allocations: 473.5 kB / 390 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.2403, allocations: 1.232 MB / 391.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2404, allocations: 0.7031 kB / 391.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2404, allocations: 0 / 391.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.2404, 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.002994/0.2434, allocations: 1.451 MB / 392.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2434, allocations: 8.375 kB / 392.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006936/0.2504, allocations: 0.9699 MB / 393.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005643/0.2509, allocations: 450.5 kB / 394.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.251, allocations: 78.33 kB / 394.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.2512, allocations: 110.2 kB / 394.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.2529, allocations: 1.137 MB / 395.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.2529, allocations: 1.25 kB / 395.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.919e-05/0.253, allocations: 45.69 kB / 395.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.2531, allocations: 27.16 kB / 395.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.2549, allocations: 1.131 MB / 396.7 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004575/0.2595, allocations: 3.946 MB / 400.6 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/0.2625, allocations: 3.757 MB / 404.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.263, allocations: 322.2 kB / 404.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.2631, allocations: 96.02 kB / 404.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.2632, allocations: 47.73 kB / 404.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.146e-06/0.2632, allocations: 0 / 404.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001457/0.2646, allocations: 0.7582 MB / 405.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.2647, allocations: 110.1 kB / 405.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.2651, allocations: 326.5 kB / 406 MB, free: 12.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.2651, allocations: 40.02 kB / 406 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.2654, allocations: 464.1 kB / 406.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.2656, allocations: 259.6 kB / 406.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.2658, allocations: 175.7 kB / 406.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2659, allocations: 358.1 kB / 407.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.2664, allocations: 248 kB / 407.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.267, allocations: 0.5558 MB / 408.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.2682, allocations: 0.8758 MB / 408.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.2682, allocations: 3.5 kB / 408.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001432/0.2696, allocations: 0.8995 MB / 409.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.2697, allocations: 17.56 kB / 409.9 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.2697, allocations: 15.03 kB / 409.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.2697, allocations: 15.56 kB / 409.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008261/0.2705, allocations: 236.6 kB / 410.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.754e-05/0.2706, allocations: 28.27 kB / 410.1 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/0.2711, allocations: 107 kB / 410.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.2712, allocations: 44.41 kB / 410.3 MB, free: 8.969 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.0003135/0.2715, allocations: 241 kB / 410.5 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.2716, allocations: 49.38 kB / 410.6 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.273, allocations: 0.6832 MB / 411.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.273, allocations: 5.109 kB / 411.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.273, allocations: 1.094 kB / 411.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.85e-05/0.2731, allocations: 128.1 kB / 411.4 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.21e-05/0.2732, allocations: 15.41 kB / 411.4 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.2736, allocations: 21.98 kB / 411.4 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/0.2737, allocations: 51.34 kB / 411.5 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001353/0.2751, allocations: 0.8794 MB / 412.4 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001546/0.2766, allocations: 1.238 MB / 413.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003988/0.277, allocations: 292.5 kB / 413.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.2772, allocations: 213.4 kB / 414.1 MB, free: 6.484 MB / 334.1 MB Notification: Performance of Backend: time 4.71e-07/0.2772, allocations: 4.062 kB / 414.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.2787, allocations: 0.6358 MB / 414.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of SimCode: time 0.001831/0.2805, allocations: 1.624 MB / 416.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of Templates: time 0.01335/0.2939, allocations: 8.103 MB / 424.5 MB, free: 13.55 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