Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 95.14 kB / 17.3 MB, free: 6.391 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.001558/0.001558, allocations: 172.7 kB / 18.2 MB, free: 5.551 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.679/1.679, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004645/0.0004646, allocations: 8 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.09025, allocations: 47.59 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02758/0.1179, allocations: 27.64 MB / 356.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01771/0.1356, allocations: 7.317 MB / 363.9 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006016/0.1417, allocations: 207.3 kB / 364.1 MB, free: 456 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006207/0.1479, allocations: 2.018 MB / 366.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.1597, allocations: 2.753 MB / 368.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005782/0.1655, allocations: 1.735 MB / 370.6 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2102/0.3757, allocations: 18.46 MB / 389.1 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07612/0.4519, allocations: 43.75 MB / 432.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01559/0.4675, allocations: 7.168 MB / 440 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01421/0.4818, allocations: 8.592 MB / 448.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004792/0.4866, allocations: 1.172 MB / 449.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009418/0.4961, allocations: 1.423 MB / 451.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006348/0.5025, allocations: 3.525 MB / 454.7 MB, free: 1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01625/0.5187, allocations: 8.749 MB / 463.5 MB, free: 8.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04157/0.5604, allocations: 37.28 MB / 0.489 GB, free: 3.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.5604, allocations: 3.75 kB / 0.489 GB, free: 3.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5604, allocations: 0 / 0.489 GB, free: 3.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001413/0.5619, allocations: 0 / 0.489 GB, free: 3.648 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.05389/0.6158, allocations: 18.81 MB / 0.5074 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.6158, allocations: 8.031 kB / 0.5074 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06619/0.682, allocations: 12.33 MB / 0.5194 GB, free: 4.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02262/0.7047, allocations: 10.56 MB / 0.5298 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001609/0.7064, allocations: 1.398 MB / 0.5311 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007045/0.7134, allocations: 1.828 MB / 0.5329 GB, free: 7.305 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4372/1.151, allocations: 30.89 MB / 0.5631 GB, free: 115.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009301/1.152, allocations: 22.72 kB / 0.5631 GB, free: 115.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006355/1.158, allocations: 0.7556 MB / 0.5638 GB, free: 114.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008861/1.159, allocations: 0.9892 MB / 0.5648 GB, free: 114.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05862/1.218, allocations: 27.91 MB / 0.5921 GB, free: 99.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1323/1.35, allocations: 94.63 MB / 0.6845 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4044/1.754, allocations: 53.36 MB / 0.7366 GB, free: 115.3 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01031/1.765, allocations: 5.898 MB / 0.7423 GB, free: 115.3 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02929/1.794, allocations: 16.88 MB / 0.7588 GB, free: 107.2 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/1.794, allocations: 77.8 kB / 0.7589 GB, free: 107.2 MB / 478.3 MB Notification: Performance of pre-optimization done (n=439): time 6.241e-06/1.794, allocations: 0 / 0.7589 GB, free: 107.2 MB / 478.3 MB Notification: Performance of matching and sorting (n=439): time 0.03149/1.826, allocations: 13.47 MB / 0.7721 GB, free: 103.2 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/1.826, allocations: 122.8 kB / 0.7722 GB, free: 103.1 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01352/1.839, allocations: 7.491 MB / 0.7795 GB, free: 100.4 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0008108/1.84, allocations: 97.55 kB / 0.7796 GB, free: 100.3 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005616/1.846, allocations: 8.514 MB / 0.7879 GB, free: 93.92 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.002169/1.848, allocations: 1.597 MB / 0.7895 GB, free: 92.73 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001466/1.849, allocations: 0.8609 MB / 0.7903 GB, free: 92.36 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/1.85, allocations: 305.1 kB / 0.7906 GB, free: 92.05 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007117/1.857, allocations: 4.78 MB / 0.7953 GB, free: 90.34 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009673/1.866, allocations: 10.49 MB / 0.8055 GB, free: 80.9 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01586/1.882, allocations: 16.14 MB / 0.8213 GB, free: 67.82 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001702/1.882, allocations: 56 kB / 0.8213 GB, free: 67.77 MB / 478.3 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02719/1.91, allocations: 16.17 MB / 0.8371 GB, free: 52.16 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/1.91, allocations: 92 kB / 0.8372 GB, free: 52.07 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000254/1.91, allocations: 203.1 kB / 0.8374 GB, free: 51.87 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00516/1.915, allocations: 1.7 MB / 0.8391 GB, free: 50.17 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008132/1.923, allocations: 2.499 MB / 0.8415 GB, free: 47.67 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/1.936, allocations: 10.8 MB / 0.852 GB, free: 36.74 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009253/1.945, allocations: 1.552 MB / 0.8536 GB, free: 35.17 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002102/1.947, allocations: 0.6015 MB / 0.8541 GB, free: 34.57 MB / 478.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1318): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01296/1.96, allocations: 7.398 MB / 0.8614 GB, free: 27.15 MB / 478.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/1.961, allocations: 0.6287 MB / 0.862 GB, free: 26.52 MB / 478.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/1.973, allocations: 8.254 MB / 0.87 GB, free: 18.23 MB / 478.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008208/1.982, allocations: 6.646 MB / 0.8765 GB, free: 11.57 MB / 478.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.238e-05/1.982, allocations: 19.94 kB / 0.8765 GB, free: 11.55 MB / 478.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-05/1.982, allocations: 23.91 kB / 0.8766 GB, free: 11.52 MB / 478.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.242/2.224, allocations: 21.01 MB / 0.8971 GB, free: 139.4 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/2.224, allocations: 2.453 kB / 0.8971 GB, free: 139.4 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00384/2.228, allocations: 0.7665 MB / 0.8978 GB, free: 139.4 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00565/2.233, allocations: 1.458 MB / 0.8993 GB, free: 139.4 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007012/2.234, allocations: 95.16 kB / 0.8994 GB, free: 139.4 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/2.248, allocations: 10.43 MB / 0.9095 GB, free: 136.6 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/2.248, allocations: 1.906 kB / 0.9095 GB, free: 136.6 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/2.267, allocations: 11.98 MB / 0.9212 GB, free: 131.9 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003251/2.27, allocations: 1.374 MB / 0.9226 GB, free: 131.2 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/2.271, allocations: 77.73 kB / 0.9227 GB, free: 131.2 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/2.274, allocations: 309.4 kB / 0.923 GB, free: 131.1 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006719/2.275, allocations: 299.1 kB / 0.9232 GB, free: 131.1 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002496/2.275, allocations: 128.6 kB / 0.9234 GB, free: 131 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.006938/2.282, allocations: 4.924 MB / 0.9282 GB, free: 129.3 MB / 494.3 MB Notification: Performance of sort global known variables: time 3.01e-07/2.282, allocations: 3.938 kB / 0.9282 GB, free: 129.3 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.01138/2.293, allocations: 4.186 MB / 0.9323 GB, free: 128 MB / 494.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_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 (387): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/2.295, allocations: 271.1 kB / 0.9325 GB, free: 127.8 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.01537/2.31, allocations: 11.14 MB / 0.9434 GB, free: 123.6 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/2.31, allocations: 0 / 0.9434 GB, free: 123.6 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.006171/2.316, allocations: 4.036 MB / 0.9473 GB, free: 122 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01137/2.328, allocations: 1.452 MB / 0.9488 GB, free: 121.5 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05296/2.381, allocations: 37.65 MB / 0.9855 GB, free: 94.77 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01625/2.397, allocations: 11.61 MB / 0.9969 GB, free: 85.84 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.01221/2.409, allocations: 3.983 MB / 1.001 GB, free: 82.75 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00212/2.411, allocations: 0.4994 MB / 1.001 GB, free: 82.25 MB / 494.3 MB Notification: Performance of SimCode: time 8.22e-07/2.411, allocations: 0 / 1.001 GB, free: 82.25 MB / 494.3 MB Notification: Performance of Templates: time 0.3683/2.78, allocations: 94.97 MB / 1.094 GB, free: 119.3 MB / 494.3 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches