Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 249.1 MB, free: 3.586 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 47.92 kB / 365.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1309, allocations: 52.15 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.008412/0.1393, allocations: 5.635 MB / 423.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004568/0.1439, allocations: 1.822 MB / 425.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008319/0.1447, allocations: 16 kB / 425.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00413/0.1488, allocations: 1.625 MB / 426.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.1511, allocations: 0.746 MB / 427.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008262/0.152, allocations: 290.7 kB / 427.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.1531, allocations: 0.8056 MB / 428.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.1543, allocations: 0.6651 MB / 429.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004632/0.1547, allocations: 350.7 kB / 429.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005743/0.1553, allocations: 494.2 kB / 430.2 MB, free: 96 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.1554, allocations: 80 kB / 430.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000604/0.156, allocations: 239.9 kB / 430.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.1562, allocations: 191.2 kB / 430.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.1566, allocations: 418 kB / 431.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.158, allocations: 1.175 MB / 432.3 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.158, allocations: 4 kB / 432.3 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.158, allocations: 0 / 432.3 MB, free: 14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.1581, allocations: 0 / 432.3 MB, free: 14 MB / 366.1 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.003263/0.1613, allocations: 1.364 MB / 433.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1614, allocations: 8.031 kB / 433.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.1615, allocations: 152.2 kB / 433.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004435/0.166, allocations: 0.6638 MB / 434.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007993/0.1668, allocations: 425.5 kB / 434.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.1668, allocations: 70.38 kB / 435 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.167, allocations: 96.33 kB / 435.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.1687, allocations: 0.9822 MB / 436 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.1687, allocations: 0 / 436 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/0.1688, allocations: 44 kB / 436.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.1688, allocations: 24 kB / 436.1 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.1705, allocations: 0.9252 MB / 437 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/0.1754, allocations: 3.34 MB / 440.4 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/0.1779, allocations: 2.179 MB / 442.5 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/0.1784, allocations: 252.2 kB / 442.8 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.1785, allocations: 97.64 kB / 442.9 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.1785, allocations: 55 kB / 442.9 MB, free: 2.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.015e-06/0.1785, allocations: 0 / 442.9 MB, free: 2.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.00139/0.1799, allocations: 0.7135 MB / 443.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.18, allocations: 107.4 kB / 443.8 MB, free: 1.824 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.1804, allocations: 274.5 kB / 444 MB, free: 1.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.1804, allocations: 37.95 kB / 444.1 MB, free: 1.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.1807, allocations: 392 kB / 444.4 MB, free: 1.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.181, allocations: 242 kB / 444.7 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.1812, allocations: 134.6 kB / 444.8 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1814, allocations: 350.7 kB / 445.2 MB, free: 392 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.1818, allocations: 225.8 kB / 445.4 MB, free: 164 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2388/0.4206, allocations: 432 kB / 445.8 MB, free: 29.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.4218, allocations: 0.7026 MB / 446.5 MB, free: 29.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.4218, allocations: 3.031 kB / 446.5 MB, free: 29.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001359/0.4232, allocations: 0.7459 MB / 447.3 MB, free: 29.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.4232, allocations: 12.03 kB / 447.3 MB, free: 29.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.4232, allocations: 4.75 kB / 447.3 MB, free: 29.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/0.4233, allocations: 10.75 kB / 447.3 MB, free: 29.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.4239, allocations: 195.7 kB / 447.5 MB, free: 29.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/0.424, allocations: 10.97 kB / 447.5 MB, free: 29.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.4244, allocations: 85.19 kB / 447.6 MB, free: 29.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.4245, allocations: 36.89 kB / 447.6 MB, free: 29.07 MB / 366.1 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.0003252/0.4248, allocations: 222.4 kB / 447.8 MB, free: 28.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.4249, allocations: 44.36 kB / 447.9 MB, free: 28.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.4261, allocations: 0.6403 MB / 448.5 MB, free: 28.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.4261, allocations: 7.531 kB / 448.5 MB, free: 28.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.4261, allocations: 1.312 kB / 448.5 MB, free: 28.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.4261, allocations: 5.359 kB / 448.5 MB, free: 28.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.4284, allocations: 1.476 MB / 450 MB, free: 28.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.4285, allocations: 1.125 kB / 450 MB, free: 28.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.429, allocations: 141.2 kB / 450.1 MB, free: 28.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.429, allocations: 5.094 kB / 450.1 MB, free: 28.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.4291, allocations: 17.02 kB / 450.2 MB, free: 28.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.4291, allocations: 4.797 kB / 450.2 MB, free: 28.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4291, allocations: 1.031 kB / 450.2 MB, free: 28.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.4307, allocations: 1.121 MB / 451.3 MB, free: 28.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.4308, allocations: 133.4 kB / 451.4 MB, free: 28.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.4309, allocations: 12.97 kB / 451.4 MB, free: 28.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.4312, allocations: 21.75 kB / 451.4 MB, free: 28.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.4314, allocations: 41.98 kB / 451.5 MB, free: 28.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.4314, allocations: 18.59 kB / 451.5 MB, free: 28.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.4316, allocations: 186.8 kB / 451.7 MB, free: 28.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4316, allocations: 0 / 451.7 MB, free: 28.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008994/0.4325, allocations: 226.6 kB / 451.9 MB, free: 28.01 MB / 366.1 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.002241/0.4347, allocations: 1.709 MB / 453.6 MB, free: 26.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.436, allocations: 0.5679 MB / 454.2 MB, free: 26.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.436, allocations: 4.562 kB / 454.2 MB, free: 26.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004731/0.4365, allocations: 271.6 kB / 454.5 MB, free: 26.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.4371, allocations: 38.91 kB / 454.5 MB, free: 26.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006758/0.4439, allocations: 4.84 MB / 459.3 MB, free: 23.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.4444, allocations: 0.9001 MB / 460.2 MB, free: 22.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003617/0.4447, allocations: 78.41 kB / 460.3 MB, free: 22.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.4451, allocations: 256.5 kB / 460.6 MB, free: 22.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.213e-06/0.4451, allocations: 1.156 kB / 460.6 MB, free: 22.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03996/0.485, allocations: 9.64 MB / 470.2 MB, free: 20.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/8.938, allocations: 6.562 kB / 470.2 MB, free: 20.39 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 11.508381376042962]