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.001228/0.001228, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001311/0.001311, allocations: 188.3 kB / 24.49 MB, free: 3.941 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.347/1.347, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 48.02 kB / 371.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.246, allocations: 52.19 MB / 423.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01687/0.2629, allocations: 14.24 MB / 437.6 MB, free: 192 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009484/0.2724, allocations: 3.955 MB / 441.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003079/0.2754, allocations: 167.2 kB / 441.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01583/0.2913, allocations: 6.905 MB / 448.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005955/0.2972, allocations: 1.479 MB / 450.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003176/0.3004, allocations: 1.099 MB / 451.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01123/0.3116, allocations: 8.3 MB / 459.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02454/0.3362, allocations: 14.36 MB / 473.9 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0081/0.3443, allocations: 4.906 MB / 478.8 MB, free: 6.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009055/0.3533, allocations: 5.35 MB / 484.1 MB, free: 1.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003423/0.3568, allocations: 1.383 MB / 485.5 MB, free: 15.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.3613, allocations: 1.652 MB / 487.2 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003519/0.3649, allocations: 2.588 MB / 489.7 MB, free: 11.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007135/0.372, allocations: 4.047 MB / 493.8 MB, free: 7.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02147/0.3935, allocations: 18.42 MB / 0.5002 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3935, allocations: 0 / 0.5002 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.3935, allocations: 4 kB / 0.5002 GB, free: 5.203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000477/0.394, allocations: 0 / 0.5002 GB, free: 5.203 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.02902/0.423, allocations: 10.54 MB / 0.5105 GB, free: 10.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.423, allocations: 12.03 kB / 0.5105 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000299/0.4233, allocations: 247 kB / 0.5108 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00353/0.4269, allocations: 1.298 MB / 0.512 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01818/0.445, allocations: 3.776 MB / 0.5157 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.4558, allocations: 5.425 MB / 0.521 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006172/0.4564, allocations: 0.6824 MB / 0.5217 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002838/0.4592, allocations: 0.8906 MB / 0.5226 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02886/0.4881, allocations: 12.79 MB / 0.535 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000201/0.4883, allocations: 11.94 kB / 0.5351 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/0.4894, allocations: 380 kB / 0.5354 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003705/0.4898, allocations: 395.1 kB / 0.5358 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4141/0.9039, allocations: 11.41 MB / 0.5469 GB, free: 96.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05028/0.9542, allocations: 38.91 MB / 0.5849 GB, free: 58.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006394/0.9605, allocations: 4.164 MB / 0.589 GB, free: 54.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.9622, allocations: 1.523 MB / 0.5905 GB, free: 52.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.9623, allocations: 53.97 kB / 0.5905 GB, free: 52.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.9624, allocations: 52.56 kB / 0.5906 GB, free: 52.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.408e-06/0.9624, allocations: 0 / 0.5906 GB, free: 52.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.006576/0.969, allocations: 4.585 MB / 0.5951 GB, free: 47.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.969, allocations: 81.33 kB / 0.5951 GB, free: 47.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/0.972, allocations: 2.928 MB / 0.598 GB, free: 44.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.9721, allocations: 61.7 kB / 0.5981 GB, free: 44.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.9735, allocations: 3.976 MB / 0.602 GB, free: 41.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/0.974, allocations: 0.831 MB / 0.6028 GB, free: 40.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009952/0.975, allocations: 0.9566 MB / 0.6037 GB, free: 39.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.096e-05/0.9751, allocations: 309.1 kB / 0.604 GB, free: 39.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.9771, allocations: 1.973 MB / 0.6059 GB, free: 37.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/0.9797, allocations: 4.153 MB / 0.61 GB, free: 32.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004861/0.9845, allocations: 6.509 MB / 0.6163 GB, free: 24.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.15e-05/0.9846, allocations: 20 kB / 0.6163 GB, free: 24.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.0073/0.9919, allocations: 6.507 MB / 0.6227 GB, free: 17.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.9919, allocations: 44 kB / 0.6227 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.099e-05/0.992, allocations: 72 kB / 0.6228 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007265/0.9927, allocations: 412.6 kB / 0.6232 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/0.9955, allocations: 1.061 MB / 0.6242 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.9992, allocations: 4.223 MB / 0.6284 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/1.002, allocations: 0.6325 MB / 0.629 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/1.003, allocations: 256 kB / 0.6292 GB, free: 11.13 MB / 446.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.003737/1.006, allocations: 3.361 MB / 0.6325 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004837/1.007, allocations: 290.2 kB / 0.6328 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004371/1.011, allocations: 3.573 MB / 0.6363 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002947/1.014, allocations: 2.796 MB / 0.639 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.014, allocations: 4 kB / 0.639 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/1.014, allocations: 11.95 kB / 0.639 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/1.029, allocations: 9.585 MB / 0.6484 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/1.029, allocations: 0 / 0.6484 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.031, allocations: 415.4 kB / 0.6488 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007261/1.032, allocations: 312.7 kB / 0.6491 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/1.032, allocations: 55.92 kB / 0.6491 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005033/1.037, allocations: 4.041 MB / 0.6531 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.037, allocations: 4 kB / 0.6531 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007204/1.044, allocations: 5.119 MB / 0.6581 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.045, allocations: 0.5561 MB / 0.6586 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/1.046, allocations: 43.94 kB / 0.6587 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.047, allocations: 131.8 kB / 0.6588 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/1.047, allocations: 157.6 kB / 0.6589 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.047, allocations: 63.98 kB / 0.659 GB, free: 12.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003013/1.05, allocations: 1.967 MB / 0.6609 GB, free: 10.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/1.05, allocations: 0 / 0.6609 GB, free: 10.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005486/1.056, allocations: 1.988 MB / 0.6629 GB, free: 8.414 MB / 478.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.008246/1.064, allocations: 5.788 MB / 0.6685 GB, free: 2.578 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007464/1.071, allocations: 4.429 MB / 0.6728 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.071, allocations: 0 / 0.6728 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002606/1.074, allocations: 1.619 MB / 0.6744 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/1.077, allocations: 0.6852 MB / 0.6751 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0624/1.14, allocations: 40.3 MB / 0.7144 GB, free: 0.8867 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006654/1.146, allocations: 5.168 MB / 0.7195 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003869/1.15, allocations: 1.698 MB / 0.7212 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004026/1.154, allocations: 2.733 MB / 0.7238 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of SimCode: time 2.164e-06/1.154, allocations: 0 / 0.7238 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3133/1.468, allocations: 93.66 MB / 0.8153 GB, free: 141.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/18.05, allocations: 14.52 kB / 0.8153 GB, free: 141.3 MB / 0.545 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 21.191751747974195]