Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_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.001058/0.001058, allocations: 102.6 kB / 17.58 MB, free: 5.426 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.001191/0.001191, allocations: 187.9 kB / 18.51 MB, free: 4.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 56.14 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1177, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.018/0.1358, allocations: 16.85 MB / 344.2 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00837/0.1442, allocations: 4.229 MB / 348.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.1469, allocations: 115.7 kB / 348.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01558/0.1625, allocations: 7.464 MB / 356 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005821/0.1683, allocations: 1.534 MB / 357.6 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003378/0.1717, allocations: 1.216 MB / 358.8 MB, free: 4.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009597/0.1813, allocations: 8.495 MB / 367.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2004/0.3817, allocations: 22.67 MB / 390 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005897/0.3876, allocations: 4.945 MB / 394.9 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008209/0.3959, allocations: 5.536 MB / 400.4 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003636/0.3996, allocations: 1.406 MB / 401.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005099/0.4047, allocations: 1.662 MB / 403.5 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003771/0.4085, allocations: 2.707 MB / 406.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006331/0.4148, allocations: 5.386 MB / 411.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.4295, allocations: 18.42 MB / 430 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4296, allocations: 0 / 430 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4296, allocations: 3.938 kB / 430 MB, free: 9.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004507/0.43, allocations: 0 / 430 MB, free: 9.559 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02862/0.4587, allocations: 10.79 MB / 440.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4587, allocations: 12.03 kB / 440.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003573/0.4623, allocations: 1.346 MB / 442.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02829/0.4906, allocations: 5.703 MB / 447.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009382/0.5, allocations: 4.841 MB / 452.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000642/0.5007, allocations: 0.7055 MB / 453.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003632/0.5043, allocations: 0.917 MB / 454.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0332/0.5376, allocations: 13.6 MB / 467.9 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002925/0.5379, allocations: 7.906 kB / 468 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002528/0.5404, allocations: 391.1 kB / 468.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004608/0.5409, allocations: 460 kB / 468.8 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02724/0.5682, allocations: 12.82 MB / 481.6 MB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09408/0.6623, allocations: 46.93 MB / 0.5161 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01738/0.6797, allocations: 17.09 MB / 0.5328 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003266/0.683, allocations: 1.876 MB / 0.5347 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3191/1.002, allocations: 5.952 MB / 0.5405 GB, free: 148 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.002, allocations: 56.09 kB / 0.5405 GB, free: 147.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=188): time 3.707e-06/1.002, allocations: 0 / 0.5405 GB, free: 147.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.008079/1.01, allocations: 4.307 MB / 0.5447 GB, free: 146.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/1.01, allocations: 75.62 kB / 0.5448 GB, free: 146.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004995/1.015, allocations: 3.333 MB / 0.5481 GB, free: 145.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002667/1.016, allocations: 53.64 kB / 0.5481 GB, free: 145.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001969/1.018, allocations: 4.184 MB / 0.5522 GB, free: 142.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005962/1.018, allocations: 0.6924 MB / 0.5529 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001308/1.02, allocations: 1.057 MB / 0.5539 GB, free: 141.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.98e-05/1.02, allocations: 301.1 kB / 0.5542 GB, free: 140.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/1.022, allocations: 2.047 MB / 0.5562 GB, free: 140.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003358/1.026, allocations: 4.687 MB / 0.5608 GB, free: 135.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005967/1.032, allocations: 7.095 MB / 0.5677 GB, free: 130.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-05/1.032, allocations: 32.03 kB / 0.5677 GB, free: 130.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01009/1.042, allocations: 7.012 MB / 0.5746 GB, free: 127.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/1.042, allocations: 49.41 kB / 0.5746 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/1.042, allocations: 94.17 kB / 0.5747 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000852/1.043, allocations: 432.2 kB / 0.5751 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003458/1.047, allocations: 1.181 MB / 0.5763 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004693/1.051, allocations: 4.381 MB / 0.5806 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005204/1.057, allocations: 0.7127 MB / 0.5813 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/1.058, allocations: 287 kB / 0.5815 GB, free: 123.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * 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.008015/1.067, allocations: 3.485 MB / 0.5849 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007679/1.067, allocations: 292.2 kB / 0.5852 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006058/1.073, allocations: 3.314 MB / 0.5884 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003569/1.077, allocations: 2.537 MB / 0.5909 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.066e-05/1.077, allocations: 4 kB / 0.5909 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.336e-05/1.077, allocations: 11.39 kB / 0.5909 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/1.092, allocations: 9.307 MB / 0.6 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.092, allocations: 3.984 kB / 0.6 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/1.093, allocations: 359.5 kB / 0.6004 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005928/1.093, allocations: 321.2 kB / 0.6007 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.793e-05/1.094, allocations: 39.98 kB / 0.6007 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003414/1.097, allocations: 4.204 MB / 0.6048 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.097, allocations: 0 / 0.6048 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005048/1.102, allocations: 4.696 MB / 0.6094 GB, free: 97.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.103, allocations: 0.5868 MB / 0.61 GB, free: 96.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/1.103, allocations: 32 kB / 0.61 GB, free: 96.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.105, allocations: 135.8 kB / 0.6101 GB, free: 96.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/1.105, allocations: 133.8 kB / 0.6103 GB, free: 96.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.807e-05/1.105, allocations: 57.11 kB / 0.6103 GB, free: 96.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002474/1.107, allocations: 2.194 MB / 0.6125 GB, free: 94.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.107, allocations: 0 / 0.6125 GB, free: 94.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004541/1.112, allocations: 2.03 MB / 0.6145 GB, free: 92.22 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (180): * Single equations (assignments): 178 * 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.005393/1.117, allocations: 5.353 MB / 0.6197 GB, free: 86.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009062/1.126, allocations: 6.334 MB / 0.6259 GB, free: 80.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.126, allocations: 0 / 0.6259 GB, free: 80.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/1.128, allocations: 1.599 MB / 0.6274 GB, free: 78.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/1.132, allocations: 0.6855 MB / 0.6281 GB, free: 78.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0555/1.187, allocations: 46.38 MB / 0.6734 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005321/1.193, allocations: 5.796 MB / 0.679 GB, free: 21.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004165/1.197, allocations: 1.828 MB / 0.6808 GB, free: 19.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003272/1.2, allocations: 2.854 MB / 0.6836 GB, free: 16.7 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/1.2, allocations: 0 / 0.6836 GB, free: 16.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3081/1.508, allocations: 92.31 MB / 0.7738 GB, free: 84.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/12.02, allocations: 7.984 kB / 0.7738 GB, free: 84.19 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches