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.001735/0.001735, allocations: 110.2 kB / 17.06 MB, free: 5.82 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.001267/0.001268, allocations: 193.4 kB / 18 MB, free: 4.965 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.422/1.422, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 43.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2748, allocations: 49.44 MB / 400.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01955/0.2944, allocations: 16.49 MB / 416.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009485/0.3039, allocations: 4.087 MB / 420.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002895/0.3068, allocations: 139.6 kB / 421 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01726/0.3242, allocations: 7.425 MB / 428.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006289/0.3305, allocations: 1.495 MB / 429.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003624/0.3342, allocations: 1.087 MB / 431 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01138/0.3455, allocations: 8.257 MB / 439.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03675/0.3823, allocations: 22.51 MB / 461.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007521/0.3899, allocations: 4.805 MB / 466.5 MB, free: 6.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008933/0.3989, allocations: 5.334 MB / 471.9 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003468/0.4024, allocations: 1.383 MB / 473.3 MB, free: 15.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004333/0.4067, allocations: 1.632 MB / 474.9 MB, free: 13.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003802/0.4105, allocations: 2.588 MB / 477.5 MB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009076/0.4196, allocations: 5.214 MB / 482.7 MB, free: 5.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02316/0.4428, allocations: 18.34 MB / 0.4893 GB, free: 3.562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4429, allocations: 3.938 kB / 0.4893 GB, free: 3.559 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4429, allocations: 0 / 0.4893 GB, free: 3.559 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005095/0.4434, allocations: 0 / 0.4893 GB, free: 3.559 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.03279/0.4762, allocations: 10.63 MB / 0.4997 GB, free: 8.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/0.4763, allocations: 12.03 kB / 0.4997 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004749/0.481, allocations: 1.291 MB / 0.5009 GB, free: 7.527 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02013/0.5012, allocations: 3.772 MB / 0.5046 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.5134, allocations: 5.372 MB / 0.5099 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000865/0.5143, allocations: 0.6784 MB / 0.5105 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003611/0.5179, allocations: 0.8944 MB / 0.5114 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03467/0.5526, allocations: 12.72 MB / 0.5238 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004396/0.5531, allocations: 15.94 kB / 0.5238 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003077/0.5562, allocations: 379.9 kB / 0.5242 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005107/0.5567, allocations: 399.1 kB / 0.5246 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02747/0.5842, allocations: 11.41 MB / 0.5357 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4527/1.037, allocations: 43.21 MB / 0.5779 GB, free: 91.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008431/1.045, allocations: 10.5 MB / 0.5882 GB, free: 80.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/1.047, allocations: 1.683 MB / 0.5898 GB, free: 79.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/1.048, allocations: 134.5 kB / 0.59 GB, free: 78.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/1.048, allocations: 56.55 kB / 0.59 GB, free: 78.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 4.719e-06/1.048, allocations: 0 / 0.59 GB, free: 78.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.007781/1.056, allocations: 4.674 MB / 0.5946 GB, free: 74.15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/1.056, allocations: 79.42 kB / 0.5946 GB, free: 74.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004544/1.06, allocations: 2.929 MB / 0.5975 GB, free: 71.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002275/1.06, allocations: 61.7 kB / 0.5976 GB, free: 71.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/1.062, allocations: 3.975 MB / 0.6014 GB, free: 67.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006378/1.063, allocations: 0.8318 MB / 0.6023 GB, free: 67.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/1.064, allocations: 0.9527 MB / 0.6032 GB, free: 66.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.302e-05/1.064, allocations: 301.1 kB / 0.6035 GB, free: 65.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/1.067, allocations: 1.973 MB / 0.6054 GB, free: 63.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003189/1.07, allocations: 4.152 MB / 0.6095 GB, free: 58.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005684/1.076, allocations: 6.513 MB / 0.6158 GB, free: 51.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-05/1.076, allocations: 28 kB / 0.6158 GB, free: 51 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008653/1.085, allocations: 6.512 MB / 0.6222 GB, free: 44.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.462e-05/1.085, allocations: 43.98 kB / 0.6222 GB, free: 44.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.197e-05/1.085, allocations: 72 kB / 0.6223 GB, free: 44.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007911/1.086, allocations: 408.8 kB / 0.6227 GB, free: 43.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/1.089, allocations: 1.061 MB / 0.6237 GB, free: 42.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/1.093, allocations: 4.381 MB / 0.628 GB, free: 38.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/1.096, allocations: 0.6326 MB / 0.6286 GB, free: 37.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005429/1.096, allocations: 248 kB / 0.6289 GB, free: 37.51 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.004658/1.101, allocations: 3.373 MB / 0.6322 GB, free: 34.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005456/1.102, allocations: 282.2 kB / 0.6324 GB, free: 33.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005129/1.107, allocations: 3.592 MB / 0.6359 GB, free: 30.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003321/1.11, allocations: 2.799 MB / 0.6387 GB, free: 27.42 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.11, allocations: 4 kB / 0.6387 GB, free: 27.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/1.11, allocations: 15.95 kB / 0.6387 GB, free: 27.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/1.125, allocations: 9.867 MB / 0.6483 GB, free: 17.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.125, allocations: 4 kB / 0.6483 GB, free: 17.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/1.127, allocations: 415.3 kB / 0.6487 GB, free: 17.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007025/1.128, allocations: 320.9 kB / 0.649 GB, free: 16.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/1.128, allocations: 51.92 kB / 0.6491 GB, free: 16.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003881/1.132, allocations: 4.202 MB / 0.6532 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.132, allocations: 3.938 kB / 0.6532 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005903/1.138, allocations: 5.131 MB / 0.6582 GB, free: 7.188 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.139, allocations: 0.6157 MB / 0.6588 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000548/1.139, allocations: 36 kB / 0.6588 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.141, allocations: 143.8 kB / 0.659 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/1.141, allocations: 149.8 kB / 0.6591 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/1.141, allocations: 67.98 kB / 0.6592 GB, free: 6.164 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002831/1.144, allocations: 1.963 MB / 0.6611 GB, free: 4.191 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.144, allocations: 0 / 0.6611 GB, free: 4.191 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005009/1.149, allocations: 1.988 MB / 0.663 GB, free: 2.195 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.007796/1.157, allocations: 5.8 MB / 0.6687 GB, free: 12.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008158/1.165, allocations: 4.625 MB / 0.6732 GB, free: 7.715 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.165, allocations: 0 / 0.6732 GB, free: 7.715 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002811/1.168, allocations: 1.739 MB / 0.6749 GB, free: 5.969 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/1.171, allocations: 0.6731 MB / 0.6756 GB, free: 5.312 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07507/1.247, allocations: 40.17 MB / 0.7148 GB, free: 10.48 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008767/1.255, allocations: 5.645 MB / 0.7203 GB, free: 4.793 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004079/1.26, allocations: 1.69 MB / 0.722 GB, free: 3.098 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00397/1.263, allocations: 2.733 MB / 0.7246 GB, free: 372 kB / 0.5138 GB Notification: Performance of SimCode: time 1.042e-06/1.264, allocations: 0 / 0.7246 GB, free: 372 kB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3253/1.589, allocations: 89.86 MB / 0.8124 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/17.42, allocations: 2.156 kB / 0.8124 GB, free: 130.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