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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001586/0.001586, allocations: 116.1 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.001881, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.4 MB, free: 9.098 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 65.7 kB / 306.6 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08017/0.08133, allocations: 50.54 MB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.1651/0.2465, allocations: 16.2 MB / 373.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007031/0.2535, allocations: 4.084 MB / 377.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.2559, allocations: 134.6 kB / 377.5 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01239/0.2683, allocations: 7.07 MB / 384.6 MB, free: 7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003861/0.2722, allocations: 1.149 MB / 385.7 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.2744, allocations: 1.136 MB / 386.9 MB, free: 5.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007574/0.282, allocations: 8.173 MB / 395 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03246/0.3145, allocations: 26.06 MB / 421.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006833/0.3214, allocations: 4.882 MB / 426 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007591/0.329, allocations: 5.353 MB / 431.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002769/0.3318, allocations: 1.383 MB / 432.7 MB, free: 496 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004084/0.3359, allocations: 1.66 MB / 434.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002702/0.3386, allocations: 2.588 MB / 437 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009509/0.3481, allocations: 5.222 MB / 442.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02101/0.3692, allocations: 18.21 MB / 460.4 MB, free: 4.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3692, allocations: 4 kB / 460.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3692, allocations: 0 / 460.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004408/0.3697, allocations: 0 / 460.4 MB, free: 4.723 MB / 366.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.02858/0.3983, allocations: 10.46 MB / 470.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3983, allocations: 8.031 kB / 470.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003363/0.4017, allocations: 1.294 MB / 472.2 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01953/0.4212, allocations: 3.748 MB / 475.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.432, allocations: 5.179 MB / 481.1 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005437/0.4326, allocations: 0.6785 MB / 481.8 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002535/0.4351, allocations: 0.8982 MB / 482.7 MB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02592/0.4611, allocations: 12.73 MB / 495.4 MB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001828/0.4613, allocations: 11.91 kB / 495.4 MB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001065/0.4623, allocations: 376 kB / 495.8 MB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003121/0.4627, allocations: 403.1 kB / 496.2 MB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02035/0.483, allocations: 11.43 MB / 0.4957 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.356/0.839, allocations: 44.16 MB / 0.5388 GB, free: 113.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009312/0.8484, allocations: 10.53 MB / 0.5491 GB, free: 105.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/0.8507, allocations: 1.732 MB / 0.5508 GB, free: 105.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.8509, allocations: 222.5 kB / 0.551 GB, free: 105.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.851, allocations: 55.75 kB / 0.5511 GB, free: 105.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 4.208e-06/0.851, allocations: 0 / 0.5511 GB, free: 105.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.007989/0.859, allocations: 4.771 MB / 0.5557 GB, free: 105.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.859, allocations: 75.41 kB / 0.5558 GB, free: 105.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00362/0.8626, allocations: 2.92 MB / 0.5587 GB, free: 105.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.8628, allocations: 64.48 kB / 0.5587 GB, free: 105.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.8643, allocations: 3.833 MB / 0.5625 GB, free: 102.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/0.8647, allocations: 0.8154 MB / 0.5633 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/0.8657, allocations: 0.9463 MB / 0.5642 GB, free: 102.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.611e-05/0.8658, allocations: 308.9 kB / 0.5645 GB, free: 101.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/0.868, allocations: 2.003 MB / 0.5664 GB, free: 101.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003126/0.8712, allocations: 4.206 MB / 0.5705 GB, free: 97.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005535/0.8767, allocations: 6.583 MB / 0.577 GB, free: 92.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-05/0.8768, allocations: 26.56 kB / 0.577 GB, free: 92.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.008017/0.8848, allocations: 6.585 MB / 0.5834 GB, free: 90.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.8849, allocations: 41.62 kB / 0.5835 GB, free: 90.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-05/0.885, allocations: 76.45 kB / 0.5835 GB, free: 90.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007936/0.8858, allocations: 413.9 kB / 0.5839 GB, free: 90.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/0.8886, allocations: 1.06 MB / 0.585 GB, free: 90.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/0.8927, allocations: 4.385 MB / 0.5893 GB, free: 87.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/0.8957, allocations: 0.6215 MB / 0.5899 GB, free: 86.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/0.8961, allocations: 245.1 kB / 0.5901 GB, free: 86.65 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 (569): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004457/0.9006, allocations: 3.376 MB / 0.5934 GB, free: 84.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005328/0.9011, allocations: 281 kB / 0.5937 GB, free: 84.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004653/0.9058, allocations: 3.666 MB / 0.5972 GB, free: 82.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003321/0.9091, allocations: 2.885 MB / 0.6001 GB, free: 80.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.9091, allocations: 3.875 kB / 0.6001 GB, free: 80.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.9092, allocations: 11.95 kB / 0.6001 GB, free: 80.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.9221, allocations: 10.06 MB / 0.6099 GB, free: 70.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.9221, allocations: 0 / 0.6099 GB, free: 70.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.9236, allocations: 415.6 kB / 0.6103 GB, free: 70.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005835/0.9242, allocations: 320.9 kB / 0.6106 GB, free: 70.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.9243, allocations: 51.98 kB / 0.6106 GB, free: 70.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/0.9281, allocations: 4.196 MB / 0.6147 GB, free: 65.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9281, allocations: 0 / 0.6147 GB, free: 65.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005454/0.9335, allocations: 5.256 MB / 0.6199 GB, free: 60.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009222/0.9345, allocations: 0.6064 MB / 0.6205 GB, free: 59.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/0.9348, allocations: 44 kB / 0.6205 GB, free: 59.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.9358, allocations: 137.9 kB / 0.6206 GB, free: 59.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/0.9361, allocations: 149.7 kB / 0.6208 GB, free: 59.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.9362, allocations: 70.17 kB / 0.6209 GB, free: 59.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002119/0.9384, allocations: 1.967 MB / 0.6228 GB, free: 57.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9384, allocations: 0 / 0.6228 GB, free: 57.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004196/0.9426, allocations: 1.954 MB / 0.6247 GB, free: 55.52 MB / 446.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 (218): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.006058/0.9486, allocations: 5.91 MB / 0.6305 GB, free: 49.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01201/0.9607, allocations: 7.17 MB / 0.6375 GB, free: 42.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.9607, allocations: 1 kB / 0.6375 GB, free: 42.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002115/0.9628, allocations: 1.777 MB / 0.6392 GB, free: 40.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/0.9662, allocations: 0.6914 MB / 0.6399 GB, free: 39.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06194/1.028, allocations: 47.06 MB / 0.6858 GB, free: 4.816 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008951/1.037, allocations: 5.647 MB / 0.6913 GB, free: 15.13 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004465/1.042, allocations: 1.698 MB / 0.693 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004062/1.046, allocations: 2.729 MB / 0.6957 GB, free: 10.7 MB / 478.1 MB Notification: Performance of SimCode: time 2.214e-06/1.046, allocations: 0 / 0.6957 GB, free: 10.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6355/1.681, allocations: 90.9 MB / 0.7844 GB, free: 100.1 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/1.681, allocations: 242.1 kB / 0.7847 GB, free: 99.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.801/5.482, allocations: 0 / 0.7847 GB, free: 99.86 MB / 478.1 MB (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 --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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches