Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.0008551/0.0008551, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009169/0.0009169, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8865/0.8865, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 4 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.084e-05, allocations: 8.609 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004178/0.004199, allocations: 5.014 MB / 329.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.00649, allocations: 1.775 MB / 331.4 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.006724, allocations: 16 kB / 331.4 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.008356, allocations: 1.582 MB / 333 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008218/0.009177, allocations: 0.6055 MB / 333.6 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.009646, allocations: 390.9 kB / 333.9 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005619/0.01021, allocations: 0.8405 MB / 334.8 MB, free: 5.676 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008378/0.01105, allocations: 0.7507 MB / 335.5 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.01147, allocations: 0.5184 MB / 336 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.01175, allocations: 371 kB / 336.4 MB, free: 4.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/0.01181, allocations: 80 kB / 336.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.01221, allocations: 239.6 kB / 336.7 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-05/0.01229, allocations: 191.3 kB / 336.9 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.01245, allocations: 279.3 kB / 337.2 MB, free: 3.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007441/0.01319, allocations: 1.191 MB / 338.4 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.01319, allocations: 0 / 338.4 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0132, allocations: 4 kB / 338.4 MB, free: 2.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.0132, allocations: 0 / 338.4 MB, free: 2.047 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001695/0.0149, allocations: 1.296 MB / 339.7 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.01493, allocations: 8.031 kB / 339.7 MB, free: 0.707 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.01504, allocations: 152.3 kB / 339.8 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/0.01749, allocations: 0.617 MB / 340.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.01788, allocations: 364.6 kB / 340.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.01792, allocations: 74.38 kB / 340.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.46e-05/0.018, allocations: 92.38 kB / 341 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009783/0.01898, allocations: 1.015 MB / 342 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.019, allocations: 4.172 kB / 342 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/0.01905, allocations: 44.12 kB / 342 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.01907, allocations: 24 kB / 342.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009787/0.02005, allocations: 0.9175 MB / 343 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.02267, allocations: 2.915 MB / 345.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.02369, allocations: 0.7516 MB / 346.6 MB, free: 9.535 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.02396, allocations: 256.4 kB / 346.9 MB, free: 9.273 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-05/0.02402, allocations: 24.64 kB / 346.9 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.02404, allocations: 43.22 kB / 347 MB, free: 9.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 1.894e-06/0.02404, allocations: 0 / 347 MB, free: 9.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.001071/0.02512, allocations: 0.7318 MB / 347.7 MB, free: 8.461 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.02516, allocations: 119.4 kB / 347.8 MB, free: 8.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.02534, allocations: 281.7 kB / 348.1 MB, free: 8.039 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.02536, allocations: 33.7 kB / 348.1 MB, free: 8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.02551, allocations: 388 kB / 348.5 MB, free: 7.613 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.02561, allocations: 230 kB / 348.7 MB, free: 7.387 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.02573, allocations: 146.5 kB / 348.9 MB, free: 7.234 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.02586, allocations: 347 kB / 349.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.0261, allocations: 229.9 kB / 349.4 MB, free: 6.664 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.02644, allocations: 435.4 kB / 349.8 MB, free: 6.152 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/0.02706, allocations: 0.6969 MB / 350.5 MB, free: 5.367 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.02706, allocations: 4 kB / 350.5 MB, free: 5.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007505/0.02781, allocations: 0.7588 MB / 351.3 MB, free: 4.598 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.02783, allocations: 8 kB / 351.3 MB, free: 4.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.02783, allocations: 8 kB / 351.3 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.02785, allocations: 19.94 kB / 351.3 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.0282, allocations: 183.7 kB / 351.5 MB, free: 4.383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.02821, allocations: 19.92 kB / 351.5 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.0284, allocations: 83.59 kB / 351.6 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.02844, allocations: 35.98 kB / 351.7 MB, free: 4.246 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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.0001689/0.0286, allocations: 221.6 kB / 351.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.02866, allocations: 39.77 kB / 351.9 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006949/0.02936, allocations: 0.6462 MB / 352.6 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.02937, allocations: 11.94 kB / 352.6 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.02937, allocations: 0 / 352.6 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.02938, allocations: 11.98 kB / 352.6 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.03081, allocations: 1.373 MB / 354 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.03081, allocations: 0 / 354 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.03111, allocations: 139.8 kB / 354.1 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.03111, allocations: 4 kB / 354.1 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.03114, allocations: 12 kB / 354.1 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.03114, allocations: 8 kB / 354.1 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.03114, allocations: 7.922 kB / 354.1 MB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009623/0.0321, allocations: 1.131 MB / 355.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.03214, allocations: 51.52 kB / 355.3 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.03217, allocations: 12 kB / 355.3 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.03235, allocations: 23.94 kB / 355.3 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.03241, allocations: 52.56 kB / 355.4 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.03243, allocations: 23.98 kB / 355.4 MB, free: 412 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.03254, allocations: 185.2 kB / 355.6 MB, free: 224 kB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03254, allocations: 0 / 355.6 MB, free: 224 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004229/0.03296, allocations: 223.4 kB / 355.8 MB, free: 0 / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_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 (72): * Single equations (assignments): 72 * 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 Backend phase and start with SimCode phase: time 0.001257/0.03422, allocations: 1.707 MB / 357.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006101/0.03483, allocations: 0.5795 MB / 358.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.03483, allocations: 0 / 358.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.03508, allocations: 269.2 kB / 358.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.03543, allocations: 44.42 kB / 358.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.03926, allocations: 4.785 MB / 363.2 MB, free: 8.332 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.03944, allocations: 303.8 kB / 363.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000184/0.03962, allocations: 80.38 kB / 363.6 MB, free: 7.934 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.03984, allocations: 260.4 kB / 363.8 MB, free: 7.68 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03984, allocations: 4 kB / 363.8 MB, free: 7.676 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.06019, allocations: 10.43 MB / 374.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.785/6.845, allocations: 10.67 kB / 374.3 MB, free: 13.4 MB / 346.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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: 8.62005289644003]