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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 108.2 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 196 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 43.94 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2859, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01837/0.3043, allocations: 16.5 MB / 416.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009901/0.3143, allocations: 4.083 MB / 420.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.3173, allocations: 139.6 kB / 421 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01567/0.333, allocations: 7.431 MB / 428.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005956/0.339, allocations: 1.483 MB / 429.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.3424, allocations: 1.099 MB / 431 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.3528, allocations: 8.253 MB / 439.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03624/0.3891, allocations: 22.5 MB / 461.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007568/0.3967, allocations: 4.816 MB / 466.5 MB, free: 6.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00879/0.4055, allocations: 5.33 MB / 471.9 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003612/0.4092, allocations: 1.383 MB / 473.3 MB, free: 15.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005191/0.4144, allocations: 1.636 MB / 474.9 MB, free: 13.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004237/0.4186, allocations: 2.584 MB / 477.5 MB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008889/0.4276, allocations: 5.214 MB / 482.7 MB, free: 5.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02059/0.4482, allocations: 18.3 MB / 0.4892 GB, free: 3.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4482, allocations: 4 kB / 0.4893 GB, free: 3.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4482, allocations: 3.938 kB / 0.4893 GB, free: 3.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006037/0.4488, allocations: 0 / 0.4893 GB, free: 3.609 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.0309/0.4798, allocations: 10.44 MB / 0.4995 GB, free: 9.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4798, allocations: 11.97 kB / 0.4995 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004731/0.4846, allocations: 1.294 MB / 0.5007 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01901/0.5036, allocations: 3.729 MB / 0.5044 GB, free: 4.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.5156, allocations: 5.359 MB / 0.5096 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009996/0.5167, allocations: 0.6824 MB / 0.5103 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003858/0.5206, allocations: 0.8905 MB / 0.5111 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04307/0.5637, allocations: 12.73 MB / 0.5236 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003342/0.564, allocations: 8 kB / 0.5236 GB, free: 276 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002785/0.5668, allocations: 376.1 kB / 0.5239 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005102/0.5674, allocations: 395.1 kB / 0.5243 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02876/0.5961, allocations: 11.41 MB / 0.5355 GB, free: 4.082 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4632/1.059, allocations: 43.09 MB / 0.5775 GB, free: 92.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007976/1.067, allocations: 10.49 MB / 0.5878 GB, free: 81.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/1.069, allocations: 1.679 MB / 0.5894 GB, free: 79.72 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002224/1.07, allocations: 134.7 kB / 0.5895 GB, free: 79.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.07, allocations: 64.5 kB / 0.5896 GB, free: 79.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 4.087e-06/1.07, allocations: 0 / 0.5896 GB, free: 79.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.007147/1.077, allocations: 4.662 MB / 0.5942 GB, free: 74.83 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/1.077, allocations: 73.41 kB / 0.5942 GB, free: 74.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/1.08, allocations: 2.926 MB / 0.5971 GB, free: 71.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002046/1.08, allocations: 63.67 kB / 0.5971 GB, free: 71.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/1.082, allocations: 3.826 MB / 0.6009 GB, free: 67.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000585/1.082, allocations: 0.7948 MB / 0.6017 GB, free: 67.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/1.083, allocations: 0.9482 MB / 0.6026 GB, free: 66.15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.291e-05/1.083, allocations: 305.1 kB / 0.6029 GB, free: 65.85 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/1.086, allocations: 1.969 MB / 0.6048 GB, free: 63.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/1.089, allocations: 4.164 MB / 0.6089 GB, free: 58.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005329/1.094, allocations: 6.513 MB / 0.6152 GB, free: 51.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-05/1.094, allocations: 20 kB / 0.6152 GB, free: 51.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007863/1.102, allocations: 6.503 MB / 0.6216 GB, free: 44.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/1.102, allocations: 36 kB / 0.6216 GB, free: 44.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.059e-05/1.102, allocations: 76 kB / 0.6217 GB, free: 44.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007233/1.103, allocations: 408.8 kB / 0.6221 GB, free: 44.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00296/1.106, allocations: 1.061 MB / 0.6231 GB, free: 42.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00424/1.11, allocations: 4.378 MB / 0.6274 GB, free: 38.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00344/1.114, allocations: 0.6192 MB / 0.628 GB, free: 37.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005926/1.114, allocations: 252 kB / 0.6282 GB, free: 37.59 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.004324/1.119, allocations: 3.369 MB / 0.6315 GB, free: 34.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005505/1.119, allocations: 273.2 kB / 0.6318 GB, free: 33.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00448/1.124, allocations: 3.581 MB / 0.6353 GB, free: 30.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003209/1.127, allocations: 2.807 MB / 0.638 GB, free: 27.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.127, allocations: 4 kB / 0.638 GB, free: 27.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/1.127, allocations: 15.89 kB / 0.6381 GB, free: 27.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/1.141, allocations: 9.852 MB / 0.6477 GB, free: 17.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.141, allocations: 0 / 0.6477 GB, free: 17.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/1.142, allocations: 411.4 kB / 0.6481 GB, free: 17.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006204/1.143, allocations: 324.9 kB / 0.6484 GB, free: 16.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/1.143, allocations: 51.92 kB / 0.6484 GB, free: 16.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003643/1.147, allocations: 4.194 MB / 0.6525 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.147, allocations: 0 / 0.6525 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005498/1.152, allocations: 5.121 MB / 0.6575 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/1.153, allocations: 0.6063 MB / 0.6581 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/1.154, allocations: 44 kB / 0.6582 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/1.155, allocations: 135.8 kB / 0.6583 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/1.155, allocations: 145.9 kB / 0.6584 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/1.155, allocations: 63.98 kB / 0.6585 GB, free: 6.324 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002184/1.157, allocations: 1.967 MB / 0.6604 GB, free: 4.348 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.157, allocations: 0 / 0.6604 GB, free: 4.348 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004192/1.161, allocations: 1.955 MB / 0.6623 GB, free: 2.387 MB / 462.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.006733/1.168, allocations: 5.788 MB / 0.668 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00682/1.175, allocations: 4.626 MB / 0.6725 GB, free: 7.926 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.175, allocations: 0.8125 kB / 0.6725 GB, free: 7.926 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002389/1.177, allocations: 1.734 MB / 0.6742 GB, free: 6.184 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/1.181, allocations: 0.6813 MB / 0.6748 GB, free: 5.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06163/1.242, allocations: 39.94 MB / 0.7139 GB, free: 10.93 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00668/1.249, allocations: 5.645 MB / 0.7194 GB, free: 5.246 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003897/1.253, allocations: 1.698 MB / 0.721 GB, free: 3.543 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003761/1.257, allocations: 2.725 MB / 0.7237 GB, free: 0.8164 MB / 0.5138 GB Notification: Performance of SimCode: time 1.222e-06/1.257, allocations: 0 / 0.7237 GB, free: 0.8164 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3696/1.627, allocations: 89.56 MB / 0.8111 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/16.68, allocations: 6.156 kB / 0.8112 GB, free: 131.4 MB / 0.5294 GB (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 --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) 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) Reference file matches