Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 207.2 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.89 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2417, allocations: 53.4 MB / 431.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01759/0.2593, allocations: 14.25 MB / 445.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008355/0.2677, allocations: 4.033 MB / 449.4 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.27, allocations: 159.2 kB / 449.6 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01642/0.2864, allocations: 6.908 MB / 456.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005258/0.2917, allocations: 1.347 MB / 457.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003585/0.2953, allocations: 1.223 MB / 459.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01042/0.3057, allocations: 8.304 MB / 467.4 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02695/0.3326, allocations: 14.23 MB / 481.6 MB, free: 3.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007197/0.3398, allocations: 4.918 MB / 486.5 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008731/0.3486, allocations: 5.17 MB / 491.7 MB, free: 9.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003375/0.3519, allocations: 1.383 MB / 493.1 MB, free: 8.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004696/0.3566, allocations: 1.66 MB / 494.7 MB, free: 6.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003876/0.3605, allocations: 2.584 MB / 497.3 MB, free: 3.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007788/0.3683, allocations: 4.047 MB / 0.4896 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02061/0.3889, allocations: 18.44 MB / 0.5076 GB, free: 13.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3889, allocations: 0 / 0.5076 GB, free: 13.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3889, allocations: 3.938 kB / 0.5076 GB, free: 13.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003805/0.3893, allocations: 4 kB / 0.5076 GB, free: 13.36 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.02907/0.4184, allocations: 10.55 MB / 0.5179 GB, free: 2.738 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.4184, allocations: 15.98 kB / 0.5179 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005008/0.4234, allocations: 1.294 MB / 0.5192 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02048/0.4439, allocations: 3.706 MB / 0.5228 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0131/0.457, allocations: 5.425 MB / 0.5281 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006941/0.4577, allocations: 0.6824 MB / 0.5288 GB, free: 7.535 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002689/0.4604, allocations: 0.8906 MB / 0.5297 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.37/0.8304, allocations: 12.8 MB / 0.5422 GB, free: 86.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000313/0.8307, allocations: 8.609 kB / 0.5422 GB, free: 86.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001897/0.8326, allocations: 382.4 kB / 0.5425 GB, free: 86.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003306/0.833, allocations: 400.8 kB / 0.5429 GB, free: 86.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02031/0.8533, allocations: 11.4 MB / 0.5541 GB, free: 81.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05708/0.9104, allocations: 38.97 MB / 0.5921 GB, free: 43.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007475/0.9178, allocations: 4.178 MB / 0.5962 GB, free: 39.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.9198, allocations: 1.523 MB / 0.5977 GB, free: 37.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.92, allocations: 69.94 kB / 0.5978 GB, free: 37.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.9201, allocations: 64.48 kB / 0.5978 GB, free: 37.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 5.22e-06/0.9201, allocations: 0 / 0.5978 GB, free: 37.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007781/0.9279, allocations: 4.592 MB / 0.6023 GB, free: 32.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.9279, allocations: 77.34 kB / 0.6024 GB, free: 32.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/0.9317, allocations: 3.067 MB / 0.6054 GB, free: 29.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.9319, allocations: 61.7 kB / 0.6054 GB, free: 29.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.9334, allocations: 3.982 MB / 0.6093 GB, free: 26.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005085/0.9339, allocations: 0.8264 MB / 0.6101 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.9351, allocations: 0.9644 MB / 0.6111 GB, free: 24.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.282e-05/0.9351, allocations: 301.1 kB / 0.6113 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/0.9374, allocations: 1.973 MB / 0.6133 GB, free: 22.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/0.9408, allocations: 4.169 MB / 0.6173 GB, free: 16.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006068/0.9468, allocations: 6.521 MB / 0.6237 GB, free: 9.262 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-05/0.9469, allocations: 20 kB / 0.6237 GB, free: 9.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008913/0.9558, allocations: 6.524 MB / 0.6301 GB, free: 2.707 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.621e-05/0.9559, allocations: 43.94 kB / 0.6301 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/0.956, allocations: 72 kB / 0.6302 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008968/0.9569, allocations: 417.3 kB / 0.6306 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/0.96, allocations: 1.061 MB / 0.6316 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005639/0.9656, allocations: 4.214 MB / 0.6358 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/0.969, allocations: 0.6364 MB / 0.6364 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006248/0.9696, allocations: 248 kB / 0.6366 GB, free: 11.92 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.005949/0.9756, allocations: 3.376 MB / 0.6399 GB, free: 8.527 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008424/0.9764, allocations: 278.2 kB / 0.6402 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00682/0.9832, allocations: 3.577 MB / 0.6437 GB, free: 4.648 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004649/0.9879, allocations: 2.819 MB / 0.6464 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.9879, allocations: 4 kB / 0.6464 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/0.9879, allocations: 15.89 kB / 0.6464 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/1.008, allocations: 9.591 MB / 0.6558 GB, free: 8.164 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.008, allocations: 160 / 0.6558 GB, free: 8.164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.009, allocations: 423.4 kB / 0.6562 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007931/1.01, allocations: 312.6 kB / 0.6565 GB, free: 7.441 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/1.01, allocations: 47.98 kB / 0.6566 GB, free: 7.395 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005472/1.016, allocations: 4.035 MB / 0.6605 GB, free: 3.242 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.016, allocations: 4 kB / 0.6605 GB, free: 3.238 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008241/1.024, allocations: 5.146 MB / 0.6655 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/1.026, allocations: 0.5599 MB / 0.6661 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004692/1.026, allocations: 48.06 kB / 0.6661 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.028, allocations: 123.8 kB / 0.6662 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/1.028, allocations: 157.7 kB / 0.6664 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/1.028, allocations: 71.97 kB / 0.6665 GB, free: 13.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003854/1.032, allocations: 1.963 MB / 0.6684 GB, free: 11.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.032, allocations: 0 / 0.6684 GB, free: 11.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005713/1.038, allocations: 1.988 MB / 0.6703 GB, free: 9.137 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.009283/1.047, allocations: 5.792 MB / 0.676 GB, free: 3.301 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007817/1.055, allocations: 4.444 MB / 0.6803 GB, free: 14.85 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.055, allocations: 0 / 0.6803 GB, free: 14.85 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002882/1.058, allocations: 1.625 MB / 0.6819 GB, free: 13.21 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/1.061, allocations: 0.6729 MB / 0.6826 GB, free: 12.55 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07529/1.136, allocations: 40.28 MB / 0.7219 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/1.147, allocations: 5.172 MB / 0.7269 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004716/1.151, allocations: 1.69 MB / 0.7286 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005005/1.156, allocations: 2.745 MB / 0.7313 GB, free: 7.957 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/1.156, allocations: 0 / 0.7313 GB, free: 7.957 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3593/1.516, allocations: 91.87 MB / 0.821 GB, free: 152.7 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/16.55, allocations: 0 / 0.821 GB, free: 152.7 MB / 0.5607 GB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 19.357516454998404]