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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 99.62 kB / 21.95 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 207.7 MB / 236.1 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 52.25 kB / 348 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2493, allocations: 49.15 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02544/0.2747, allocations: 25.26 MB / 422.4 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.018/0.2927, allocations: 7.262 MB / 429.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007491/0.3002, allocations: 264 kB / 429.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03011/0.3303, allocations: 12.26 MB / 442.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01273/0.3431, allocations: 2.988 MB / 445.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007515/0.3506, allocations: 2.113 MB / 447.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0264/0.377, allocations: 19.16 MB / 466.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05594/0.4329, allocations: 28.64 MB / 495.1 MB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01678/0.4497, allocations: 10.52 MB / 0.4938 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02015/0.4699, allocations: 11.64 MB / 0.5051 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008189/0.4781, allocations: 2.973 MB / 0.508 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01073/0.4888, allocations: 3.234 MB / 0.5112 GB, free: 4.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009689/0.4985, allocations: 5.779 MB / 0.5168 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01747/0.5159, allocations: 8.694 MB / 0.5253 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.429/0.9449, allocations: 39.94 MB / 0.5643 GB, free: 67.51 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.9449, allocations: 0 / 0.5643 GB, free: 67.51 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.9449, allocations: 0.9375 kB / 0.5643 GB, free: 67.51 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001112/0.9461, allocations: 0 / 0.5643 GB, free: 67.51 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.0771/1.023, allocations: 23.19 MB / 0.587 GB, free: 61.7 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/1.023, allocations: 17.61 kB / 0.587 GB, free: 61.7 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0008235/1.024, allocations: 0.5578 MB / 0.5875 GB, free: 61.6 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01335/1.037, allocations: 3.116 MB / 0.5906 GB, free: 61.39 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06205/1.099, allocations: 12.38 MB / 0.6027 GB, free: 58.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02705/1.126, allocations: 10.79 MB / 0.6132 GB, free: 52.29 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001428/1.128, allocations: 1.399 MB / 0.6146 GB, free: 50.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009107/1.137, allocations: 1.848 MB / 0.6164 GB, free: 49.08 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07557/1.213, allocations: 31.12 MB / 0.6468 GB, free: 17.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005023/1.213, allocations: 19.91 kB / 0.6468 GB, free: 17.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004447/1.218, allocations: 0.7581 MB / 0.6475 GB, free: 17.11 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006369/1.218, allocations: 0.9731 MB / 0.6485 GB, free: 16.13 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05259/1.271, allocations: 27.89 MB / 0.6757 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.175/1.446, allocations: 83.59 MB / 0.7573 GB, free: 0.5078 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02582/1.472, allocations: 16.88 MB / 0.7738 GB, free: 3.598 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009973/1.482, allocations: 5.558 MB / 0.7792 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02618/1.508, allocations: 13.96 MB / 0.7929 GB, free: 304 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.577e-05/1.508, allocations: 81.94 kB / 0.7929 GB, free: 212 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=431): time 7.494e-06/1.508, allocations: 0 / 0.7929 GB, free: 212 kB / 0.5919 GB Notification: Performance of matching and sorting (n=521): time 0.2643/1.772, allocations: 30.5 MB / 0.8227 GB, free: 226.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/1.772, allocations: 127.5 kB / 0.8229 GB, free: 226.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008599/1.781, allocations: 7.521 MB / 0.8302 GB, free: 223.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006793/1.781, allocations: 116.3 kB / 0.8303 GB, free: 223.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003339/1.785, allocations: 8.878 MB / 0.839 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001664/1.786, allocations: 1.95 MB / 0.8409 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002921/1.789, allocations: 2.409 MB / 0.8432 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.432e-05/1.789, allocations: 305.1 kB / 0.8435 GB, free: 212 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005907/1.795, allocations: 5.209 MB / 0.8486 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008834/1.804, allocations: 11 MB / 0.8594 GB, free: 195 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/1.819, allocations: 17.18 MB / 0.8761 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001603/1.819, allocations: 59.94 kB / 0.8762 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1497) (initialization): time 0.02358/1.843, allocations: 18.02 MB / 0.8938 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/1.843, allocations: 88 kB / 0.8939 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002548/1.843, allocations: 196 kB / 0.8941 GB, free: 156.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009166/1.852, allocations: 3.146 MB / 0.8971 GB, free: 153.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007729/1.86, allocations: 2.531 MB / 0.8996 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/1.882, allocations: 22.6 MB / 0.9217 GB, free: 128.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008085/1.89, allocations: 0.7488 MB / 0.9224 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001479/1.892, allocations: 0.6289 MB / 0.923 GB, free: 127 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 900 * 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 (1325): * Single equations (assignments): 1321 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,80,80.6%), (6,80,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009954/1.902, allocations: 7.524 MB / 0.9304 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00135/1.903, allocations: 0.6869 MB / 0.931 GB, free: 118.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.916, allocations: 10.14 MB / 0.9409 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01036/1.926, allocations: 8.402 MB / 0.9491 GB, free: 100 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.274e-05/1.926, allocations: 27.94 kB / 0.9492 GB, free: 99.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.676e-05/1.927, allocations: 27.89 kB / 0.9492 GB, free: 99.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03626/1.963, allocations: 23.48 MB / 0.9721 GB, free: 76.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/1.963, allocations: 0 / 0.9721 GB, free: 76.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00328/1.966, allocations: 0.7918 MB / 0.9729 GB, free: 75.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0088/1.975, allocations: 2.848 MB / 0.9757 GB, free: 72.76 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006263/1.975, allocations: 110.4 kB / 0.9758 GB, free: 72.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02075/1.996, allocations: 20.98 MB / 0.9963 GB, free: 51.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.996, allocations: 4 kB / 0.9963 GB, free: 51.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01751/2.014, allocations: 14.56 MB / 1.01 GB, free: 36.72 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003972/2.018, allocations: 1.405 MB / 1.012 GB, free: 35.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001869/2.02, allocations: 100.1 kB / 1.012 GB, free: 35.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003532/2.023, allocations: 331.4 kB / 1.012 GB, free: 34.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008407/2.024, allocations: 408.8 kB / 1.013 GB, free: 34.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002925/2.024, allocations: 140 kB / 1.013 GB, free: 34.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006213/2.03, allocations: 4.942 MB / 1.018 GB, free: 29.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/2.03, allocations: 0 / 1.018 GB, free: 29.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0115/2.042, allocations: 3.008 MB / 1.021 GB, free: 26.42 MB / 0.5919 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 (396): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,80,77.8%), (6,74,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01745/2.059, allocations: 15.31 MB / 1.036 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2002/2.26, allocations: 12.46 MB / 1.048 GB, free: 243 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/2.26, allocations: 0.8438 kB / 1.048 GB, free: 243 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008042/2.268, allocations: 4.998 MB / 1.053 GB, free: 242.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00771/2.275, allocations: 1.571 MB / 1.054 GB, free: 242.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1542/2.43, allocations: 107.1 MB / 1.159 GB, free: 151.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01838/2.448, allocations: 11.55 MB / 1.17 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009758/2.458, allocations: 4.014 MB / 1.174 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009935/2.468, allocations: 6.201 MB / 1.18 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.623e-06/2.468, allocations: 0 / 1.18 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4647/2.932, allocations: 226.2 MB / 1.401 GB, free: 156.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 51.32/54.25, allocations: 14.09 kB / 1.401 GB, free: 156.2 MB / 0.5919 GB " [Timeout remaining time 605] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 57.3934626840055]