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.0008129/0.0008129, allocations: 94.77 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009353/0.0009353, allocations: 202.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.15/1.15, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001793/0.0001793, allocations: 8 kB / 307.8 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07303/0.07323, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.1362/0.2094, allocations: 15.32 MB / 374.7 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005977/0.2154, allocations: 4.083 MB / 378.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.2165, allocations: 130.3 kB / 378.9 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.2178, allocations: 1.004 MB / 379.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.2202, allocations: 1.155 MB / 381.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.2219, allocations: 1.149 MB / 382.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005715/0.2277, allocations: 7.866 MB / 390.1 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02685/0.2545, allocations: 22.13 MB / 412.2 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005249/0.2598, allocations: 3.289 MB / 415.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005714/0.2655, allocations: 3.868 MB / 419.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.2667, allocations: 0.5508 MB / 419.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.2692, allocations: 0.8208 MB / 420.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.2703, allocations: 1.519 MB / 422.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004626/0.275, allocations: 4.049 MB / 426.3 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.2886, allocations: 17.19 MB / 443.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2887, allocations: 0 / 443.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2887, allocations: 0 / 443.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002053/0.2889, allocations: 0 / 443.5 MB, free: 6.805 MB / 350.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.01699/0.3059, allocations: 8.505 MB / 452 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3059, allocations: 8.031 kB / 452 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001504/0.3074, allocations: 1.304 MB / 453.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/0.3236, allocations: 3.758 MB / 457.1 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00646/0.33, allocations: 5.179 MB / 462.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.3304, allocations: 0.6777 MB / 462.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.3316, allocations: 0.8926 MB / 463.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/0.3495, allocations: 12.73 MB / 476.5 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001501/0.3496, allocations: 11.91 kB / 476.5 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007856/0.3504, allocations: 374.7 kB / 476.9 MB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002856/0.3507, allocations: 403.1 kB / 477.3 MB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.3662, allocations: 11.43 MB / 488.7 MB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04647/0.4127, allocations: 44.31 MB / 0.5206 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00925/0.422, allocations: 10.54 MB / 0.5308 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2511/0.6731, allocations: 1.714 MB / 0.5325 GB, free: 129.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.6733, allocations: 218.6 kB / 0.5327 GB, free: 129.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.6734, allocations: 58.11 kB / 0.5328 GB, free: 129.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 3.767e-06/0.6734, allocations: 1.031 kB / 0.5328 GB, free: 129.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.007568/0.6809, allocations: 4.796 MB / 0.5375 GB, free: 128.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.681, allocations: 77.03 kB / 0.5375 GB, free: 128.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003335/0.6843, allocations: 2.921 MB / 0.5404 GB, free: 127.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.6844, allocations: 60.58 kB / 0.5405 GB, free: 127.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.6859, allocations: 3.827 MB / 0.5442 GB, free: 124.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.6864, allocations: 0.8087 MB / 0.545 GB, free: 124.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004033/0.6868, allocations: 374 kB / 0.5453 GB, free: 124 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.08e-05/0.6868, allocations: 309 kB / 0.5456 GB, free: 123.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.6891, allocations: 2.01 MB / 0.5476 GB, free: 123 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/0.692, allocations: 4.196 MB / 0.5517 GB, free: 119.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004886/0.6969, allocations: 6.59 MB / 0.5581 GB, free: 114.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-05/0.6969, allocations: 19.66 kB / 0.5581 GB, free: 114.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.006839/0.7038, allocations: 6.585 MB / 0.5646 GB, free: 111.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.7038, allocations: 40.16 kB / 0.5646 GB, free: 111.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.421e-05/0.7039, allocations: 74.97 kB / 0.5647 GB, free: 111.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.7045, allocations: 412.4 kB / 0.5651 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/0.707, allocations: 1.061 MB / 0.5661 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/0.7103, allocations: 4.077 MB / 0.5701 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.7125, allocations: 0.6231 MB / 0.5707 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/0.7128, allocations: 244.1 kB / 0.5709 GB, free: 108.6 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.003173/0.7159, allocations: 3.374 MB / 0.5742 GB, free: 107.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.7163, allocations: 273.8 kB / 0.5745 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004189/0.7205, allocations: 3.666 MB / 0.5781 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002911/0.7234, allocations: 2.887 MB / 0.5809 GB, free: 102.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7234, allocations: 4 kB / 0.5809 GB, free: 102.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.7234, allocations: 15.81 kB / 0.5809 GB, free: 102.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009828/0.7333, allocations: 10.07 MB / 0.5907 GB, free: 93.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.7333, allocations: 4 kB / 0.5907 GB, free: 93.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.7346, allocations: 414.9 kB / 0.5911 GB, free: 92.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005068/0.7351, allocations: 317.2 kB / 0.5914 GB, free: 92.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.044e-05/0.7352, allocations: 40 kB / 0.5915 GB, free: 92.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/0.7382, allocations: 3.895 MB / 0.5953 GB, free: 88.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.7382, allocations: 5.406 kB / 0.5953 GB, free: 88.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/0.7431, allocations: 5.262 MB / 0.6004 GB, free: 83.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006867/0.7438, allocations: 0.6181 MB / 0.601 GB, free: 82.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.744, allocations: 47.94 kB / 0.6011 GB, free: 82.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009534/0.745, allocations: 131.8 kB / 0.6012 GB, free: 82.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.7452, allocations: 149.9 kB / 0.6013 GB, free: 82.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.63e-05/0.7453, allocations: 63.98 kB / 0.6014 GB, free: 82.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001736/0.747, allocations: 1.963 MB / 0.6033 GB, free: 80.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.747, allocations: 0 / 0.6033 GB, free: 80.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003142/0.7502, allocations: 1.961 MB / 0.6052 GB, free: 78.29 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.005244/0.7554, allocations: 5.914 MB / 0.611 GB, free: 72.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004472/0.7599, allocations: 4.707 MB / 0.6156 GB, free: 67.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7599, allocations: 0 / 0.6156 GB, free: 67.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.7616, allocations: 1.782 MB / 0.6174 GB, free: 65.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.7644, allocations: 0.6359 MB / 0.618 GB, free: 65.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03908/0.8035, allocations: 47.1 MB / 0.664 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003571/0.8071, allocations: 5.652 MB / 0.6695 GB, free: 8.312 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003078/0.8101, allocations: 1.694 MB / 0.6711 GB, free: 6.613 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002124/0.8123, allocations: 2.725 MB / 0.6738 GB, free: 3.887 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.8123, allocations: 0 / 0.6738 GB, free: 3.887 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.834/3.647, allocations: 88.35 MB / 0.7601 GB, free: 120.5 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/3.647, allocations: 235.9 kB / 0.7603 GB, free: 120.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.62/7.267, allocations: 0 / 0.7603 GB, free: 120.3 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