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.001442/0.001442, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001625/0.001625, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001444/0.001444, allocations: 47.92 kB / 378.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2713, allocations: 53.36 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01712/0.2884, allocations: 14.26 MB / 446.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008841/0.2973, allocations: 4.006 MB / 450.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/0.3001, allocations: 163.2 kB / 450.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01642/0.3166, allocations: 6.91 MB / 457.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005744/0.3223, allocations: 1.343 MB / 458.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003799/0.3261, allocations: 1.224 MB / 459.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01041/0.3365, allocations: 8.308 MB / 468.1 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02776/0.3643, allocations: 14.37 MB / 482.4 MB, free: 3.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007657/0.3719, allocations: 4.914 MB / 487.4 MB, free: 14.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008898/0.3808, allocations: 5.35 MB / 492.7 MB, free: 9.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003276/0.3841, allocations: 1.383 MB / 494.1 MB, free: 8.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005002/0.3891, allocations: 1.664 MB / 495.8 MB, free: 6.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004231/0.3933, allocations: 2.595 MB / 498.4 MB, free: 3.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00826/0.4016, allocations: 4.039 MB / 0.4906 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02267/0.4243, allocations: 18.43 MB / 0.5086 GB, free: 13.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4243, allocations: 3.938 kB / 0.5086 GB, free: 13.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4243, allocations: 0 / 0.5086 GB, free: 13.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005373/0.4248, allocations: 11.94 kB / 0.5086 GB, free: 13.25 MB / 430.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.03004/0.4549, allocations: 10.56 MB / 0.5189 GB, free: 2.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4549, allocations: 12.03 kB / 0.5189 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002687/0.4552, allocations: 251 kB / 0.5192 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004146/0.4593, allocations: 1.294 MB / 0.5205 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02058/0.4799, allocations: 3.71 MB / 0.5241 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.491, allocations: 5.433 MB / 0.5294 GB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006746/0.4916, allocations: 0.6785 MB / 0.53 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003399/0.495, allocations: 0.8828 MB / 0.5309 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3961/0.8911, allocations: 12.81 MB / 0.5434 GB, free: 86.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002321/0.8914, allocations: 12.23 kB / 0.5434 GB, free: 86.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00197/0.8933, allocations: 374.9 kB / 0.5438 GB, free: 86.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003192/0.8937, allocations: 399 kB / 0.5442 GB, free: 86.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02048/0.9141, allocations: 11.43 MB / 0.5553 GB, free: 81.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05166/0.9658, allocations: 38.97 MB / 0.5934 GB, free: 42.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006613/0.9724, allocations: 4.172 MB / 0.5975 GB, free: 38.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.9741, allocations: 1.53 MB / 0.599 GB, free: 37.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.9742, allocations: 65.94 kB / 0.599 GB, free: 37.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.9743, allocations: 64.5 kB / 0.5991 GB, free: 37.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.608e-06/0.9743, allocations: 0 / 0.5991 GB, free: 37.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.006943/0.9812, allocations: 4.6 MB / 0.6036 GB, free: 32.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.9813, allocations: 79.64 kB / 0.6036 GB, free: 32.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003293/0.9845, allocations: 2.93 MB / 0.6065 GB, free: 29.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.9847, allocations: 61.7 kB / 0.6066 GB, free: 29.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.986, allocations: 3.973 MB / 0.6104 GB, free: 26.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004987/0.9865, allocations: 0.8326 MB / 0.6113 GB, free: 25.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/0.9875, allocations: 0.9605 MB / 0.6122 GB, free: 24.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.585e-05/0.9876, allocations: 305.1 kB / 0.6125 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.9898, allocations: 1.973 MB / 0.6144 GB, free: 21.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/0.9928, allocations: 4.165 MB / 0.6185 GB, free: 16.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005294/0.9981, allocations: 6.513 MB / 0.6248 GB, free: 9.141 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-05/0.9981, allocations: 24 kB / 0.6249 GB, free: 9.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008533/1.007, allocations: 6.532 MB / 0.6312 GB, free: 2.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/1.007, allocations: 38.97 kB / 0.6313 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.092e-05/1.007, allocations: 76 kB / 0.6314 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007348/1.008, allocations: 408.7 kB / 0.6317 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/1.01, allocations: 1.061 MB / 0.6328 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005115/1.016, allocations: 4.232 MB / 0.6369 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/1.019, allocations: 0.6325 MB / 0.6375 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008107/1.02, allocations: 248 kB / 0.6378 GB, free: 11.77 MB / 462.1 MB 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.005929/1.026, allocations: 3.369 MB / 0.6411 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006705/1.026, allocations: 286.2 kB / 0.6413 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006061/1.033, allocations: 3.573 MB / 0.6448 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004389/1.037, allocations: 2.811 MB / 0.6476 GB, free: 1.688 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.037, allocations: 4 kB / 0.6476 GB, free: 1.684 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/1.037, allocations: 23.83 kB / 0.6476 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01791/1.055, allocations: 9.593 MB / 0.657 GB, free: 8.012 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.055, allocations: 4 kB / 0.657 GB, free: 8.008 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/1.056, allocations: 415.4 kB / 0.6574 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007508/1.057, allocations: 316.7 kB / 0.6577 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/1.057, allocations: 51.97 kB / 0.6577 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005023/1.062, allocations: 4.036 MB / 0.6616 GB, free: 3.086 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.062, allocations: 0 / 0.6616 GB, free: 3.086 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007771/1.07, allocations: 5.146 MB / 0.6667 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.072, allocations: 0.5599 MB / 0.6672 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004826/1.072, allocations: 43.98 kB / 0.6673 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/1.073, allocations: 131.9 kB / 0.6674 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/1.074, allocations: 157.7 kB / 0.6675 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.074, allocations: 63.98 kB / 0.6676 GB, free: 12.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003082/1.077, allocations: 1.967 MB / 0.6695 GB, free: 10.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.077, allocations: 0 / 0.6695 GB, free: 10.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005929/1.083, allocations: 1.984 MB / 0.6715 GB, free: 8.984 MB / 494.1 MB 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.00884/1.092, allocations: 5.799 MB / 0.6771 GB, free: 3.145 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007567/1.099, allocations: 4.436 MB / 0.6815 GB, free: 14.7 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.099, allocations: 0 / 0.6815 GB, free: 14.7 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.00301/1.102, allocations: 1.622 MB / 0.683 GB, free: 13.07 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/1.106, allocations: 0.6805 MB / 0.6837 GB, free: 12.4 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06813/1.174, allocations: 40.29 MB / 0.723 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008922/1.183, allocations: 5.172 MB / 0.7281 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004333/1.187, allocations: 1.702 MB / 0.7298 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004778/1.192, allocations: 2.741 MB / 0.7324 GB, free: 7.797 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/1.192, allocations: 0 / 0.7324 GB, free: 7.797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3293/1.521, allocations: 94.03 MB / 0.8243 GB, free: 118.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.83/18.35, allocations: 8.047 kB / 0.8243 GB, free: 118.7 MB / 0.545 GB " [Timeout remaining time 641] (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: 21.56869717303198]