Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.001682/0.001682, allocations: 125 kB / 17.79 MB, free: 5.121 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.002012/0.002012, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.407/1.407, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 55.91 kB / 365.7 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1034, allocations: 52.13 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01905/0.1224, allocations: 16.57 MB / 434.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009548/0.132, allocations: 4.095 MB / 438.4 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003367/0.1353, allocations: 143.6 kB / 438.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01726/0.1526, allocations: 7.499 MB / 446.1 MB, free: 176 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2178/0.3704, allocations: 1.477 MB / 447.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003106/0.3735, allocations: 1.095 MB / 448.7 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009813/0.3833, allocations: 8.253 MB / 456.9 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02824/0.4115, allocations: 17.34 MB / 474.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009986/0.4215, allocations: 4.814 MB / 479.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01239/0.4339, allocations: 5.353 MB / 484.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004679/0.4386, allocations: 1.386 MB / 485.8 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006809/0.4454, allocations: 1.636 MB / 487.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005196/0.4506, allocations: 2.586 MB / 490 MB, free: 6.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01088/0.4615, allocations: 5.222 MB / 495.2 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02301/0.4845, allocations: 18.49 MB / 0.5017 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4845, allocations: 0 / 0.5017 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4845, allocations: 0.5625 kB / 0.5017 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004961/0.485, allocations: 4 kB / 0.5017 GB, free: 0.8008 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03316/0.5182, allocations: 10.62 MB / 0.5121 GB, free: 6.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5182, allocations: 8.031 kB / 0.5121 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0048/0.523, allocations: 1.296 MB / 0.5134 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01964/0.5426, allocations: 3.777 MB / 0.517 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.5559, allocations: 5.371 MB / 0.5223 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008092/0.5567, allocations: 0.6815 MB / 0.523 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003205/0.5599, allocations: 0.8912 MB / 0.5238 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03352/0.5934, allocations: 12.71 MB / 0.5362 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003736/0.5938, allocations: 11.94 kB / 0.5362 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002613/0.5964, allocations: 382.6 kB / 0.5366 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004338/0.5968, allocations: 399.6 kB / 0.537 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02597/0.6228, allocations: 11.41 MB / 0.5481 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07671/0.6995, allocations: 43.23 MB / 0.5904 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/0.7119, allocations: 10.28 MB / 0.6004 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002966/0.7148, allocations: 1.523 MB / 0.6019 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003295/0.7152, allocations: 140 kB / 0.602 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.05e-05/0.7152, allocations: 64.5 kB / 0.6021 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=223): time 5.941e-06/0.7152, allocations: 0 / 0.6021 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=223): time 0.009835/0.7251, allocations: 4.66 MB / 0.6066 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.7251, allocations: 76.69 kB / 0.6067 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005215/0.7304, allocations: 2.93 MB / 0.6096 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002186/0.7306, allocations: 61.7 kB / 0.6096 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002936/0.7335, allocations: 3.983 MB / 0.6135 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009176/0.7344, allocations: 0.8253 MB / 0.6143 GB, free: 12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/0.7361, allocations: 0.9527 MB / 0.6152 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7362, allocations: 301.1 kB / 0.6155 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/0.7393, allocations: 1.973 MB / 0.6175 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005105/0.7444, allocations: 4.157 MB / 0.6215 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008365/0.7528, allocations: 6.504 MB / 0.6279 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.46e-05/0.7529, allocations: 24 kB / 0.6279 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01137/0.7642, allocations: 6.512 MB / 0.6342 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.996e-05/0.7643, allocations: 42.12 kB / 0.6343 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/0.7644, allocations: 76 kB / 0.6344 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009806/0.7654, allocations: 405.4 kB / 0.6347 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/0.7688, allocations: 1.068 MB / 0.6358 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3871/1.156, allocations: 4.386 MB / 0.6401 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003232/1.159, allocations: 0.6322 MB / 0.6407 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005276/1.16, allocations: 247.8 kB / 0.6409 GB, free: 164.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004699/1.164, allocations: 3.366 MB / 0.6442 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005826/1.165, allocations: 285.5 kB / 0.6445 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005604/1.171, allocations: 3.571 MB / 0.648 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003758/1.174, allocations: 2.797 MB / 0.6507 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.174, allocations: 5.922 kB / 0.6507 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-05/1.174, allocations: 11.2 kB / 0.6507 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/1.192, allocations: 9.857 MB / 0.6603 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/1.192, allocations: 1.875 kB / 0.6604 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/1.194, allocations: 411.8 kB / 0.6607 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006908/1.194, allocations: 316.5 kB / 0.661 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/1.195, allocations: 50.81 kB / 0.6611 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004017/1.199, allocations: 4.2 MB / 0.6652 GB, free: 157 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.199, allocations: 2.312 kB / 0.6652 GB, free: 157 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006229/1.205, allocations: 5.132 MB / 0.6702 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.206, allocations: 0.6189 MB / 0.6708 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000568/1.207, allocations: 36.41 kB / 0.6708 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/1.208, allocations: 139.3 kB / 0.671 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/1.208, allocations: 145.1 kB / 0.6711 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/1.209, allocations: 67.06 kB / 0.6712 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00254/1.211, allocations: 1.966 MB / 0.6731 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/1.211, allocations: 0 / 0.6731 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004698/1.216, allocations: 1.991 MB / 0.675 GB, free: 153.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006499/1.222, allocations: 5.792 MB / 0.6807 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005932/1.228, allocations: 4.429 MB / 0.685 GB, free: 149 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.228, allocations: 0 / 0.685 GB, free: 149 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/1.23, allocations: 1.617 MB / 0.6866 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/1.233, allocations: 0.6704 MB / 0.6873 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05704/1.29, allocations: 40.16 MB / 0.7265 GB, free: 110.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007689/1.298, allocations: 5.648 MB / 0.732 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003635/1.301, allocations: 1.692 MB / 0.7337 GB, free: 103 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003452/1.305, allocations: 2.729 MB / 0.7363 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.293e-06/1.305, allocations: 0 / 0.7363 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/1.435, allocations: 90.62 MB / 0.8248 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.22/17.65, allocations: 4.062 kB / 0.8248 GB, free: 9.969 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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: 20.642869108822197]