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.001519/0.001519, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001715/0.001715, allocations: 210.4 kB / 23.73 MB, free: 4.523 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.777 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 43.94 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2458, allocations: 53.36 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01744/0.2633, allocations: 14.26 MB / 445.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008344/0.2716, allocations: 4.029 MB / 449.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/0.2739, allocations: 159.2 kB / 449.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01675/0.2907, allocations: 6.916 MB / 456.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008198/0.2989, allocations: 1.343 MB / 457.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004748/0.3036, allocations: 1.227 MB / 459 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01181/0.3154, allocations: 8.304 MB / 467.3 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02554/0.341, allocations: 14.36 MB / 481.7 MB, free: 3.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007486/0.3485, allocations: 4.914 MB / 486.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008884/0.3574, allocations: 5.361 MB / 492 MB, free: 9.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003475/0.3608, allocations: 1.383 MB / 493.3 MB, free: 8.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00489/0.3657, allocations: 1.656 MB / 495 MB, free: 6.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004207/0.3699, allocations: 2.595 MB / 497.6 MB, free: 3.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007919/0.3778, allocations: 4.047 MB / 0.4899 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02383/0.4017, allocations: 18.44 MB / 0.5079 GB, free: 13.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4017, allocations: 0 / 0.5079 GB, free: 13.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4017, allocations: 0 / 0.5079 GB, free: 13.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006673/0.4023, allocations: 0 / 0.5079 GB, free: 13.24 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.03149/0.4338, allocations: 10.55 MB / 0.5182 GB, free: 2.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.4339, allocations: 16.03 kB / 0.5182 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004359/0.4382, allocations: 1.291 MB / 0.5195 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02001/0.4583, allocations: 3.71 MB / 0.5231 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.4713, allocations: 5.433 MB / 0.5284 GB, free: 8.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007679/0.4721, allocations: 0.6785 MB / 0.5291 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003378/0.4754, allocations: 0.8867 MB / 0.5299 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4161/0.8915, allocations: 12.81 MB / 0.5424 GB, free: 86.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002341/0.8917, allocations: 8.203 kB / 0.5425 GB, free: 86.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001585/0.8933, allocations: 375.7 kB / 0.5428 GB, free: 86.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002748/0.8936, allocations: 403 kB / 0.5432 GB, free: 86.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01964/0.9132, allocations: 11.4 MB / 0.5543 GB, free: 81.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05418/0.9674, allocations: 38.96 MB / 0.5924 GB, free: 43.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007092/0.9745, allocations: 4.177 MB / 0.5965 GB, free: 39.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.9762, allocations: 1.53 MB / 0.598 GB, free: 37.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.9764, allocations: 73.86 kB / 0.598 GB, free: 37.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.9764, allocations: 52.56 kB / 0.5981 GB, free: 37.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.849e-06/0.9764, allocations: 0 / 0.5981 GB, free: 37.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007007/0.9834, allocations: 4.602 MB / 0.6026 GB, free: 32.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.9834, allocations: 81.33 kB / 0.6026 GB, free: 32.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003221/0.9867, allocations: 3.065 MB / 0.6056 GB, free: 29.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.9869, allocations: 61.7 kB / 0.6057 GB, free: 29.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.9882, allocations: 3.974 MB / 0.6096 GB, free: 26.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004879/0.9887, allocations: 0.8274 MB / 0.6104 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/0.9897, allocations: 0.9644 MB / 0.6113 GB, free: 24.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.381e-05/0.9897, allocations: 305.1 kB / 0.6116 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.9918, allocations: 1.98 MB / 0.6136 GB, free: 22.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00282/0.9947, allocations: 4.161 MB / 0.6176 GB, free: 16.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005317/1, allocations: 6.521 MB / 0.624 GB, free: 9.285 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.194e-05/1, allocations: 20 kB / 0.624 GB, free: 9.266 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008356/1.008, allocations: 6.528 MB / 0.6304 GB, free: 2.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/1.008, allocations: 43.98 kB / 0.6304 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.457e-05/1.008, allocations: 76 kB / 0.6305 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000727/1.009, allocations: 404.6 kB / 0.6309 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/1.012, allocations: 1.068 MB / 0.6319 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005117/1.017, allocations: 4.212 MB / 0.636 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003494/1.021, allocations: 0.6364 MB / 0.6367 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006722/1.022, allocations: 252 kB / 0.6369 GB, free: 11.93 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.005817/1.027, allocations: 3.369 MB / 0.6402 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007413/1.028, allocations: 286.2 kB / 0.6405 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006441/1.035, allocations: 3.565 MB / 0.6439 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004651/1.039, allocations: 2.807 MB / 0.6467 GB, free: 1.855 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.039, allocations: 4 kB / 0.6467 GB, free: 1.852 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/1.039, allocations: 11.95 kB / 0.6467 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01863/1.058, allocations: 9.601 MB / 0.6561 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.058, allocations: 4 kB / 0.6561 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/1.06, allocations: 411.4 kB / 0.6565 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007569/1.06, allocations: 316.7 kB / 0.6568 GB, free: 7.473 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/1.061, allocations: 51.98 kB / 0.6568 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005455/1.066, allocations: 4.041 MB / 0.6608 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.066, allocations: 0 / 0.6608 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008031/1.074, allocations: 5.146 MB / 0.6658 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.076, allocations: 0.5599 MB / 0.6663 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003678/1.076, allocations: 40 kB / 0.6664 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/1.077, allocations: 135.8 kB / 0.6665 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003312/1.077, allocations: 153.8 kB / 0.6667 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/1.078, allocations: 67.97 kB / 0.6667 GB, free: 13.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003495/1.081, allocations: 1.967 MB / 0.6686 GB, free: 11.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.081, allocations: 0 / 0.6686 GB, free: 11.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005629/1.087, allocations: 1.984 MB / 0.6706 GB, free: 9.172 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.008807/1.096, allocations: 5.803 MB / 0.6762 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0078/1.103, allocations: 4.439 MB / 0.6806 GB, free: 14.88 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.103, allocations: 2 kB / 0.6806 GB, free: 14.88 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.003364/1.107, allocations: 1.618 MB / 0.6822 GB, free: 13.25 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/1.11, allocations: 0.6836 MB / 0.6828 GB, free: 12.58 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06661/1.177, allocations: 40.29 MB / 0.7222 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007943/1.185, allocations: 5.168 MB / 0.7272 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004048/1.189, allocations: 1.694 MB / 0.7289 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003993/1.193, allocations: 2.737 MB / 0.7315 GB, free: 7.984 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/1.193, allocations: 4 kB / 0.7316 GB, free: 7.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3453/1.538, allocations: 94.3 MB / 0.8236 GB, free: 118.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/15.87, allocations: 0 / 0.8236 GB, free: 118.1 MB / 0.545 GB " [Timeout remaining time 644] (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: 18.75643572001718]