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.001128/0.001128, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.00119/0.00119, allocations: 190 kB / 18.07 MB, free: 5.414 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.246/1.246, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001256/0.001256, allocations: 47.94 kB / 280.1 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07838/0.07965, allocations: 46.63 MB / 326.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01528/0.09497, allocations: 16.56 MB / 343.3 MB, free: 4.145 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008529/0.1035, allocations: 4.198 MB / 347.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004296/0.1079, allocations: 115.6 kB / 347.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01411/0.1221, allocations: 7.087 MB / 354.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005224/0.1273, allocations: 1.369 MB / 356 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003305/0.1306, allocations: 1.127 MB / 357.2 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009039/0.1397, allocations: 8.311 MB / 365.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1896/0.3293, allocations: 18.97 MB / 384.4 MB, free: 17.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007227/0.3366, allocations: 4.393 MB / 388.8 MB, free: 17.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008763/0.3454, allocations: 5.363 MB / 394.2 MB, free: 16.11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003742/0.3492, allocations: 1.033 MB / 395.2 MB, free: 16.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004996/0.3542, allocations: 1.29 MB / 396.5 MB, free: 16.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004057/0.3583, allocations: 2.312 MB / 398.8 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007254/0.3655, allocations: 4.982 MB / 403.8 MB, free: 13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0138/0.3794, allocations: 18.17 MB / 422 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3794, allocations: 0 / 422 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3794, allocations: 0 / 422 MB, free: 1.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005191/0.3799, allocations: 0 / 422 MB, free: 1.754 MB / 318.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.02985/0.4098, allocations: 10.81 MB / 432.8 MB, free: 7.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.4099, allocations: 12.03 kB / 432.8 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004549/0.4144, allocations: 1.347 MB / 434.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02917/0.4436, allocations: 5.705 MB / 439.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/0.4549, allocations: 4.835 MB / 444.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006363/0.4556, allocations: 0.702 MB / 445.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003453/0.459, allocations: 0.9246 MB / 446.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03527/0.4943, allocations: 13.62 MB / 459.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003032/0.4947, allocations: 11.91 kB / 459.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003549/0.4982, allocations: 385.3 kB / 460.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004848/0.4987, allocations: 459.9 kB / 460.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02742/0.5262, allocations: 12.84 MB / 473.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0748/0.601, allocations: 46.95 MB / 0.5084 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01393/0.615, allocations: 17.12 MB / 0.5251 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002807/0.6178, allocations: 1.897 MB / 0.5269 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009751/0.6276, allocations: 6.105 MB / 0.5329 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.6277, allocations: 56.56 kB / 0.5329 GB, free: 3.836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 3.908e-06/0.6277, allocations: 0 / 0.5329 GB, free: 3.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.1408/0.7684, allocations: 4.406 MB / 0.5372 GB, free: 149.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.7685, allocations: 78.03 kB / 0.5373 GB, free: 149.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004513/0.773, allocations: 3.318 MB / 0.5406 GB, free: 148.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002482/0.7733, allocations: 58.08 kB / 0.5406 GB, free: 148.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001844/0.7751, allocations: 4.178 MB / 0.5447 GB, free: 146.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000607/0.7758, allocations: 0.7152 MB / 0.5454 GB, free: 145.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.777, allocations: 1.064 MB / 0.5464 GB, free: 145.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.491e-05/0.7771, allocations: 301.1 kB / 0.5467 GB, free: 144.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002623/0.7797, allocations: 2.083 MB / 0.5488 GB, free: 144.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00323/0.7829, allocations: 4.731 MB / 0.5534 GB, free: 139.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005734/0.7887, allocations: 7.17 MB / 0.5604 GB, free: 134.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.577e-05/0.7887, allocations: 27.78 kB / 0.5604 GB, free: 134.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.008364/0.7971, allocations: 7.093 MB / 0.5673 GB, free: 131.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.7972, allocations: 45.47 kB / 0.5674 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/0.7973, allocations: 93.75 kB / 0.5675 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007957/0.7981, allocations: 428.6 kB / 0.5679 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/0.801, allocations: 1.176 MB / 0.569 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/0.8044, allocations: 4.058 MB / 0.573 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003/0.8074, allocations: 0.7222 MB / 0.5737 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003241/0.8078, allocations: 288.3 kB / 0.574 GB, free: 128.3 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 (626): * Single equations (assignments): 621 * 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.003731/0.8115, allocations: 3.49 MB / 0.5774 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004336/0.8119, allocations: 292.2 kB / 0.5776 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/0.8159, allocations: 3.396 MB / 0.581 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002772/0.8187, allocations: 2.621 MB / 0.5835 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.8187, allocations: 3.344 kB / 0.5835 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.8188, allocations: 11.48 kB / 0.5835 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.8298, allocations: 9.432 MB / 0.5928 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.8298, allocations: 4 kB / 0.5928 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.831, allocations: 362.3 kB / 0.5931 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000571/0.8316, allocations: 312 kB / 0.5934 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.623e-05/0.8317, allocations: 43.94 kB / 0.5934 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003193/0.8349, allocations: 3.876 MB / 0.5972 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8349, allocations: 7.938 kB / 0.5972 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004778/0.8397, allocations: 4.837 MB / 0.602 GB, free: 108 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009079/0.8406, allocations: 0.5906 MB / 0.6025 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.8409, allocations: 43.88 kB / 0.6026 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009903/0.8419, allocations: 131.8 kB / 0.6027 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.8421, allocations: 125.9 kB / 0.6028 GB, free: 107.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.721e-05/0.8422, allocations: 59.98 kB / 0.6029 GB, free: 107.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002278/0.8445, allocations: 2.194 MB / 0.605 GB, free: 104.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8445, allocations: 0 / 0.605 GB, free: 104.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004148/0.8487, allocations: 2.031 MB / 0.607 GB, free: 102.8 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 (183): * Single equations (assignments): 178 * 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.005072/0.8538, allocations: 5.497 MB / 0.6124 GB, free: 97.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005301/0.8591, allocations: 4.807 MB / 0.6171 GB, free: 92.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8591, allocations: 0 / 0.6171 GB, free: 92.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.8607, allocations: 1.645 MB / 0.6187 GB, free: 90.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.8633, allocations: 0.6221 MB / 0.6193 GB, free: 90.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04835/0.9117, allocations: 50.3 MB / 0.6684 GB, free: 35.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003964/0.9157, allocations: 5.8 MB / 0.6741 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003563/0.9193, allocations: 1.833 MB / 0.6759 GB, free: 27.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002435/0.9217, allocations: 2.835 MB / 0.6786 GB, free: 24.78 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.9217, allocations: 0 / 0.6786 GB, free: 24.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.315/8.237, allocations: 91.47 MB / 0.768 GB, free: 96.85 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/8.237, allocations: 250.8 kB / 0.7682 GB, free: 96.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.884/12.12, allocations: 0 / 0.7682 GB, free: 96.59 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","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches