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.001064/0.001064, allocations: 101.5 kB / 18.4 MB, free: 4.699 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.0009834/0.0009835, allocations: 187.1 kB / 19.33 MB, free: 3.777 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.418/1.418, 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.00137/0.00137, allocations: 55.94 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0974/0.09878, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.2431/0.3419, allocations: 29.57 MB / 405.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01969/0.3616, allocations: 7.431 MB / 412.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009377/0.3712, allocations: 220 kB / 413 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03047/0.4017, allocations: 13.16 MB / 426.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01494/0.4166, allocations: 3.043 MB / 429.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007615/0.4243, allocations: 1.907 MB / 431.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02624/0.4505, allocations: 18.92 MB / 450.1 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07784/0.5284, allocations: 44.6 MB / 494.7 MB, free: 8.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01841/0.5469, allocations: 10.31 MB / 0.4931 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02012/0.5671, allocations: 11.54 MB / 0.5044 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009655/0.5768, allocations: 2.973 MB / 0.5073 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01231/0.5891, allocations: 3.234 MB / 0.5105 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01099/0.6001, allocations: 5.756 MB / 0.5161 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02445/0.6246, allocations: 11.23 MB / 0.5271 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5728/1.197, allocations: 39.65 MB / 0.5658 GB, free: 85.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/1.198, allocations: 0 / 0.5658 GB, free: 85.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.635e-06/1.198, allocations: 1.094 kB / 0.5658 GB, free: 85.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001463/1.199, allocations: 0 / 0.5658 GB, free: 85.09 MB / 478.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.09741/1.296, allocations: 22.88 MB / 0.5881 GB, free: 75.93 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/1.296, allocations: 11.56 kB / 0.5881 GB, free: 75.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07089/1.367, allocations: 12.29 MB / 0.6001 GB, free: 70.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02883/1.396, allocations: 10.55 MB / 0.6104 GB, free: 61.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00145/1.398, allocations: 1.399 MB / 0.6118 GB, free: 60.33 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01154/1.409, allocations: 1.834 MB / 0.6136 GB, free: 58.51 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09833/1.508, allocations: 30.84 MB / 0.6437 GB, free: 27.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001159/1.509, allocations: 23.45 kB / 0.6437 GB, free: 27.62 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01179/1.521, allocations: 0.7636 MB / 0.6445 GB, free: 26.88 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009385/1.522, allocations: 0.9685 MB / 0.6454 GB, free: 25.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06799/1.59, allocations: 27.87 MB / 0.6726 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2046/1.794, allocations: 93.19 MB / 0.7636 GB, free: 220 kB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3168/2.111, allocations: 53.33 MB / 0.8157 GB, free: 151.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01003/2.121, allocations: 5.996 MB / 0.8216 GB, free: 151.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02731/2.149, allocations: 16.58 MB / 0.8378 GB, free: 145.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/2.149, allocations: 86.47 kB / 0.8378 GB, free: 145.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=427): time 6.031e-06/2.149, allocations: 0 / 0.8378 GB, free: 145.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=427): time 0.02918/2.178, allocations: 13.21 MB / 0.8507 GB, free: 141.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/2.178, allocations: 122.3 kB / 0.8509 GB, free: 141.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/2.189, allocations: 7.488 MB / 0.8582 GB, free: 135.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007793/2.19, allocations: 97.7 kB / 0.8583 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004411/2.195, allocations: 8.529 MB / 0.8666 GB, free: 128.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001974/2.197, allocations: 1.56 MB / 0.8681 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003354/2.2, allocations: 2.271 MB / 0.8703 GB, free: 124.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.732e-05/2.2, allocations: 301.1 kB / 0.8706 GB, free: 124.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00592/2.206, allocations: 4.709 MB / 0.8752 GB, free: 120.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008491/2.214, allocations: 10.4 MB / 0.8854 GB, free: 107.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/2.229, allocations: 15.98 MB / 0.901 GB, free: 89.01 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/2.229, allocations: 56 kB / 0.901 GB, free: 88.96 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02569/2.255, allocations: 16.01 MB / 0.9167 GB, free: 72.93 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002428/2.255, allocations: 88 kB / 0.9168 GB, free: 72.85 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003562/2.256, allocations: 203.9 kB / 0.917 GB, free: 72.65 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005298/2.261, allocations: 1.696 MB / 0.9186 GB, free: 70.95 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008073/2.269, allocations: 2.499 MB / 0.9211 GB, free: 68.44 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/2.282, allocations: 11.52 MB / 0.9323 GB, free: 56.79 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/2.293, allocations: 1.561 MB / 0.9338 GB, free: 55.22 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002378/2.295, allocations: 0.5976 MB / 0.9344 GB, free: 54.62 MB / 0.5607 GB 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 (1312): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01428/2.31, allocations: 7.394 MB / 0.9416 GB, free: 47.21 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001825/2.312, allocations: 0.6287 MB / 0.9422 GB, free: 46.57 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/2.326, allocations: 8.091 MB / 0.9501 GB, free: 38.45 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008932/2.335, allocations: 6.484 MB / 0.9565 GB, free: 31.94 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-05/2.335, allocations: 16 kB / 0.9565 GB, free: 31.93 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.946e-05/2.335, allocations: 19.92 kB / 0.9565 GB, free: 31.91 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04519/2.38, allocations: 20.72 MB / 0.9768 GB, free: 11.18 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/2.38, allocations: 4 kB / 0.9768 GB, free: 11.18 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003264/2.384, allocations: 0.7645 MB / 0.9775 GB, free: 10.41 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004948/2.389, allocations: 1.45 MB / 0.9789 GB, free: 8.961 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007399/2.389, allocations: 91.97 kB / 0.979 GB, free: 8.871 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2723/2.662, allocations: 11.14 MB / 0.9899 GB, free: 184.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/2.662, allocations: 1.781 kB / 0.9899 GB, free: 184.7 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0192/2.681, allocations: 11.71 MB / 1.001 GB, free: 184.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003954/2.685, allocations: 1.309 MB / 1.003 GB, free: 183.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/2.687, allocations: 83.14 kB / 1.003 GB, free: 183.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003593/2.69, allocations: 299.1 kB / 1.003 GB, free: 183.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007862/2.691, allocations: 298.6 kB / 1.003 GB, free: 183.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/2.691, allocations: 123 kB / 1.003 GB, free: 183.6 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.009056/2.701, allocations: 4.929 MB / 1.008 GB, free: 181.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7.71e-07/2.701, allocations: 0 / 1.008 GB, free: 181.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01422/2.715, allocations: 4.182 MB / 1.012 GB, free: 180.5 MB / 0.5607 GB 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 (381): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/2.716, allocations: 280.9 kB / 1.013 GB, free: 180.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01707/2.733, allocations: 10.97 MB / 1.023 GB, free: 176.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/2.733, allocations: 0 / 1.023 GB, free: 176.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006584/2.74, allocations: 3.942 MB / 1.027 GB, free: 174.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01015/2.75, allocations: 1.548 MB / 1.029 GB, free: 174 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08109/2.831, allocations: 29.07 MB / 1.057 GB, free: 153.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02386/2.855, allocations: 11.23 MB / 1.068 GB, free: 144.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003302/2.858, allocations: 0.5919 MB / 1.069 GB, free: 144 MB / 0.5607 GB Notification: Performance of SimCode: time 1.683e-06/2.858, allocations: 0 / 1.069 GB, free: 144 MB / 0.5607 GB Notification: Performance of Templates: time 0.6385/3.497, allocations: 292.8 MB / 1.354 GB, free: 49.54 MB / 0.5607 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches