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.001531/0.001531, allocations: 112.8 kB / 19.16 MB, free: 3.914 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.001911/0.001911, allocations: 213.6 kB / 22.12 MB, free: 0.9609 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.395/1.395, allocations: 207.6 MB / 232.5 MB, free: 11.5 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.001708/0.001708, allocations: 52.22 kB / 343 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2598, allocations: 49.14 MB / 392.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02932/0.2891, allocations: 29.68 MB / 421.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01932/0.3084, allocations: 7.451 MB / 429.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007716/0.3161, allocations: 263.4 kB / 429.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03039/0.3465, allocations: 13.28 MB / 442.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.36, allocations: 2.91 MB / 445.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007874/0.3679, allocations: 2.101 MB / 447.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02752/0.3954, allocations: 18.93 MB / 466.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06341/0.4588, allocations: 34.38 MB / 0.4894 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01867/0.4775, allocations: 10.49 MB / 0.4996 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0201/0.4976, allocations: 11.62 MB / 0.511 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008666/0.5062, allocations: 2.977 MB / 0.5139 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.011/0.5172, allocations: 3.226 MB / 0.517 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009346/0.5266, allocations: 5.795 MB / 0.5227 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01975/0.5463, allocations: 11.21 MB / 0.5336 GB, free: 9.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4233/0.9696, allocations: 39.76 MB / 0.5725 GB, free: 75.1 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.9696, allocations: 0 / 0.5725 GB, free: 75.1 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.9696, allocations: 0 / 0.5725 GB, free: 75.1 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0012/0.9708, allocations: 0 / 0.5725 GB, free: 75.1 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.07339/1.044, allocations: 23.27 MB / 0.5952 GB, free: 65.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.044, allocations: 11.5 kB / 0.5952 GB, free: 65.09 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004265/1.045, allocations: 0.5635 MB / 0.5957 GB, free: 64.98 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01147/1.056, allocations: 3.114 MB / 0.5988 GB, free: 63.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06481/1.121, allocations: 12.37 MB / 0.6109 GB, free: 57.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02395/1.145, allocations: 10.58 MB / 0.6212 GB, free: 47.67 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001084/1.146, allocations: 1.403 MB / 0.6226 GB, free: 46.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008461/1.154, allocations: 1.842 MB / 0.6244 GB, free: 44.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07539/1.23, allocations: 30.86 MB / 0.6545 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000892/1.231, allocations: 27.89 kB / 0.6545 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0085/1.239, allocations: 0.763 MB / 0.6553 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008984/1.24, allocations: 0.9725 MB / 0.6562 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06223/1.302, allocations: 27.88 MB / 0.6835 GB, free: 15.91 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1855/1.488, allocations: 93.51 MB / 0.7748 GB, free: 1.859 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2681/1.756, allocations: 52.69 MB / 0.8262 GB, free: 171.7 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009162/1.765, allocations: 5.578 MB / 0.8317 GB, free: 169.9 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02247/1.788, allocations: 16.67 MB / 0.848 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/1.788, allocations: 77.59 kB / 0.848 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=431): time 5.701e-06/1.788, allocations: 0 / 0.848 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=521): time 0.06093/1.849, allocations: 30.66 MB / 0.878 GB, free: 141 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/1.849, allocations: 129.2 kB / 0.8781 GB, free: 140.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01071/1.859, allocations: 7.519 MB / 0.8854 GB, free: 133.8 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009015/1.86, allocations: 113.7 kB / 0.8855 GB, free: 133.7 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004154/1.864, allocations: 8.88 MB / 0.8942 GB, free: 124.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002171/1.867, allocations: 1.945 MB / 0.8961 GB, free: 122.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003795/1.87, allocations: 2.408 MB / 0.8985 GB, free: 120.4 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/1.871, allocations: 309.1 kB / 0.8988 GB, free: 120.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007859/1.878, allocations: 5.211 MB / 0.9039 GB, free: 114.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/1.89, allocations: 10.97 MB / 0.9146 GB, free: 101.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01618/1.906, allocations: 17.18 MB / 0.9314 GB, free: 81.15 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001647/1.906, allocations: 56 kB / 0.9314 GB, free: 81.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1497) (initialization): time 0.03183/1.938, allocations: 18.01 MB / 0.949 GB, free: 63 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.00017/1.938, allocations: 92.88 kB / 0.9491 GB, free: 62.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003798/1.938, allocations: 200 kB / 0.9493 GB, free: 62.72 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009628/1.948, allocations: 3.157 MB / 0.9524 GB, free: 59.55 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00817/1.956, allocations: 2.531 MB / 0.9548 GB, free: 57.02 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02352/1.98, allocations: 23.25 MB / 0.9775 GB, free: 33.52 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008446/1.988, allocations: 0.7527 MB / 0.9783 GB, free: 32.76 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001709/1.99, allocations: 0.625 MB / 0.9789 GB, free: 32.14 MB / 0.5763 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.01047/2, allocations: 7.515 MB / 0.9862 GB, free: 24.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/2.002, allocations: 0.6985 MB / 0.9869 GB, free: 23.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/2.015, allocations: 10.13 MB / 0.9968 GB, free: 13.66 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009765/2.025, allocations: 8.413 MB / 1.005 GB, free: 5.141 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.563e-05/2.025, allocations: 24 kB / 1.005 GB, free: 5.117 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-05/2.025, allocations: 27.91 kB / 1.005 GB, free: 5.09 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2452/2.27, allocations: 24.24 MB / 1.029 GB, free: 193.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/2.27, allocations: 0 / 1.029 GB, free: 193.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0031/2.273, allocations: 0.8005 MB / 1.03 GB, free: 193.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008832/2.282, allocations: 2.849 MB / 1.032 GB, free: 193.2 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000594/2.283, allocations: 110.3 kB / 1.032 GB, free: 193.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02359/2.306, allocations: 21.62 MB / 1.054 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.306, allocations: 0 / 1.054 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01963/2.326, allocations: 14.56 MB / 1.068 GB, free: 174.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003439/2.33, allocations: 1.425 MB / 1.069 GB, free: 173.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/2.331, allocations: 98.53 kB / 1.069 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/2.334, allocations: 328.7 kB / 1.07 GB, free: 173 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008718/2.335, allocations: 374.9 kB / 1.07 GB, free: 172.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000295/2.336, allocations: 147.6 kB / 1.07 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0071/2.343, allocations: 4.941 MB / 1.075 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.5e-07/2.343, allocations: 0 / 1.075 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01324/2.356, allocations: 3.003 MB / 1.078 GB, free: 165.6 MB / 0.5763 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.01772/2.374, allocations: 15.31 MB / 1.093 GB, free: 152.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01545/2.389, allocations: 12.47 MB / 1.105 GB, free: 140.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/2.389, allocations: 384 / 1.105 GB, free: 140.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006998/2.396, allocations: 5.005 MB / 1.11 GB, free: 135.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009482/2.406, allocations: 1.573 MB / 1.111 GB, free: 133.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1592/2.565, allocations: 106.8 MB / 1.216 GB, free: 19.04 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2157/2.78, allocations: 11.84 MB / 1.227 GB, free: 213.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01031/2.791, allocations: 4.018 MB / 1.231 GB, free: 212.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008316/2.799, allocations: 6.199 MB / 1.237 GB, free: 211.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.623e-06/2.799, allocations: 0 / 1.237 GB, free: 211.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5123/3.311, allocations: 224.2 MB / 1.456 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 50.23/53.54, allocations: 13.25 kB / 1.456 GB, free: 172.6 MB / 0.5763 GB " [Timeout remaining time 606] (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: 56.753720096021425]