Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.001291/0.001291, allocations: 113 kB / 18.49 MB, free: 4.598 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.001353/0.001353, allocations: 213.4 kB / 21.45 MB, free: 1.652 MB / 14.72 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 1.469/1.469, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 47.92 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1116, allocations: 53.34 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.2213/0.3329, allocations: 16.58 MB / 443.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.3434, allocations: 4.161 MB / 447.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004666/0.348, allocations: 161.5 kB / 447.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01832/0.3663, allocations: 7.494 MB / 455.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006794/0.3731, allocations: 1.334 MB / 456.8 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004147/0.3773, allocations: 1.233 MB / 458 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01217/0.3895, allocations: 8.257 MB / 466.2 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03229/0.4217, allocations: 17.33 MB / 483.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008926/0.4307, allocations: 4.895 MB / 488.5 MB, free: 3.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/0.4411, allocations: 5.357 MB / 493.8 MB, free: 14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004313/0.4454, allocations: 1.383 MB / 495.2 MB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006115/0.4515, allocations: 1.66 MB / 496.9 MB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004889/0.4564, allocations: 2.588 MB / 499.5 MB, free: 8.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01019/0.4666, allocations: 5.21 MB / 0.4928 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02415/0.4908, allocations: 18.35 MB / 0.5108 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4908, allocations: 0 / 0.5108 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4908, allocations: 7.875 kB / 0.5108 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005515/0.4913, allocations: 0 / 0.5108 GB, free: 0.7109 MB / 414.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.03429/0.5256, allocations: 10.63 MB / 0.5211 GB, free: 5.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.5257, allocations: 12.03 kB / 0.5212 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003252/0.526, allocations: 247 kB / 0.5214 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004515/0.5305, allocations: 1.298 MB / 0.5227 GB, free: 4.422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02048/0.551, allocations: 3.706 MB / 0.5263 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/0.5642, allocations: 5.383 MB / 0.5315 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008544/0.565, allocations: 0.6824 MB / 0.5322 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003474/0.5685, allocations: 0.8867 MB / 0.5331 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03336/0.6019, allocations: 12.73 MB / 0.5455 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004402/0.6023, allocations: 11.95 kB / 0.5455 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003268/0.6056, allocations: 389.7 kB / 0.5459 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004648/0.606, allocations: 395.1 kB / 0.5463 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02586/0.6319, allocations: 11.42 MB / 0.5574 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08095/0.7129, allocations: 43.72 MB / 0.6001 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/0.7259, allocations: 10.28 MB / 0.6102 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/0.7289, allocations: 1.532 MB / 0.6117 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004298/0.7294, allocations: 240 kB / 0.6119 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.424e-05/0.7294, allocations: 64.56 kB / 0.6119 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 4.719e-06/0.7294, allocations: 0 / 0.6119 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.01071/0.7402, allocations: 4.683 MB / 0.6165 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.7402, allocations: 81.41 kB / 0.6166 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.374/1.114, allocations: 2.924 MB / 0.6194 GB, free: 152.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003372/1.115, allocations: 64.55 kB / 0.6195 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001791/1.116, allocations: 3.978 MB / 0.6234 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008733/1.117, allocations: 0.8229 MB / 0.6242 GB, free: 151 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/1.119, allocations: 0.9631 MB / 0.6251 GB, free: 150.9 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.634e-05/1.119, allocations: 302.8 kB / 0.6254 GB, free: 150.6 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/1.122, allocations: 1.975 MB / 0.6274 GB, free: 149.9 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004022/1.126, allocations: 4.162 MB / 0.6314 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007239/1.133, allocations: 6.519 MB / 0.6378 GB, free: 141.6 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.255e-05/1.133, allocations: 21.23 kB / 0.6378 GB, free: 141.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01106/1.144, allocations: 6.528 MB / 0.6442 GB, free: 139 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/1.144, allocations: 43 kB / 0.6442 GB, free: 139 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001549/1.144, allocations: 73.19 kB / 0.6443 GB, free: 139 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/1.145, allocations: 408.5 kB / 0.6447 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/1.149, allocations: 1.063 MB / 0.6457 GB, free: 138.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004334/1.153, allocations: 4.378 MB / 0.65 GB, free: 136 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/1.156, allocations: 0.6337 MB / 0.6506 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004495/1.157, allocations: 249.1 kB / 0.6509 GB, free: 135.6 MB / 0.5138 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.004323/1.161, allocations: 3.376 MB / 0.6541 GB, free: 134 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005583/1.162, allocations: 285 kB / 0.6544 GB, free: 133.9 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004868/1.167, allocations: 3.564 MB / 0.6579 GB, free: 132.5 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00326/1.17, allocations: 2.812 MB / 0.6606 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/1.17, allocations: 3 kB / 0.6607 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/1.17, allocations: 16.44 kB / 0.6607 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/1.182, allocations: 9.878 MB / 0.6703 GB, free: 127.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/1.182, allocations: 4.156 kB / 0.6703 GB, free: 127.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/1.184, allocations: 423.4 kB / 0.6707 GB, free: 127.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006222/1.184, allocations: 313.5 kB / 0.671 GB, free: 127.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/1.184, allocations: 49.36 kB / 0.6711 GB, free: 127.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003474/1.188, allocations: 4.195 MB / 0.6752 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.188, allocations: 0 / 0.6752 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/1.193, allocations: 5.148 MB / 0.6802 GB, free: 118.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009872/1.194, allocations: 0.6196 MB / 0.6808 GB, free: 118.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/1.195, allocations: 44 kB / 0.6808 GB, free: 118 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/1.196, allocations: 127.8 kB / 0.681 GB, free: 117.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/1.196, allocations: 153.8 kB / 0.6811 GB, free: 117.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.196, allocations: 71.97 kB / 0.6812 GB, free: 117.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002036/1.198, allocations: 1.959 MB / 0.6831 GB, free: 115.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.4e-07/1.198, allocations: 0 / 0.6831 GB, free: 115.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004304/1.202, allocations: 1.984 MB / 0.685 GB, free: 113.7 MB / 0.5138 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.005692/1.208, allocations: 5.803 MB / 0.6907 GB, free: 107.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.005498/1.213, allocations: 4.441 MB / 0.695 GB, free: 103.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.213, allocations: 1.875 kB / 0.695 GB, free: 103.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/1.215, allocations: 1.623 MB / 0.6966 GB, free: 101.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/1.218, allocations: 0.6699 MB / 0.6973 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05376/1.272, allocations: 40.14 MB / 0.7365 GB, free: 58.37 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006753/1.279, allocations: 5.647 MB / 0.742 GB, free: 52.69 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00326/1.282, allocations: 1.694 MB / 0.7436 GB, free: 50.99 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003241/1.285, allocations: 2.745 MB / 0.7463 GB, free: 48.25 MB / 0.5138 GB Notification: Performance of SimCode: time 1.162e-06/1.285, allocations: 0 / 0.7463 GB, free: 48.25 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3466/1.632, allocations: 90.83 MB / 0.835 GB, free: 156.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/17.11, allocations: 14.62 kB / 0.835 GB, free: 156.2 MB / 0.545 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.42358162999153]