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.001316/0.001316, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001309/0.001309, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.45/1.45, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.002571/0.002571, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1062, allocations: 46.61 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.217/0.3232, allocations: 16.85 MB / 391.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.3335, allocations: 4.243 MB / 395.8 MB, free: 396 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004867/0.3385, allocations: 114 kB / 395.9 MB, free: 376 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01871/0.3572, allocations: 7.46 MB / 403.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008403/0.3657, allocations: 1.544 MB / 404.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004018/0.3697, allocations: 1.208 MB / 406.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01195/0.3817, allocations: 8.578 MB / 414.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03685/0.4185, allocations: 22.56 MB / 437.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00822/0.4268, allocations: 4.96 MB / 442.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009853/0.4367, allocations: 5.529 MB / 447.7 MB, free: 6.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004084/0.4408, allocations: 1.402 MB / 449.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005435/0.4463, allocations: 1.668 MB / 450.8 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004215/0.4505, allocations: 2.712 MB / 453.5 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009716/0.4603, allocations: 5.378 MB / 458.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02445/0.4847, allocations: 18.57 MB / 477.4 MB, free: 8.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4848, allocations: 0 / 477.4 MB, free: 8.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4848, allocations: 0 / 477.4 MB, free: 8.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005748/0.4854, allocations: 0 / 477.4 MB, free: 8.918 MB / 398.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.03391/0.5193, allocations: 10.98 MB / 488.4 MB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.5194, allocations: 12.03 kB / 488.4 MB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005086/0.5245, allocations: 1.34 MB / 489.8 MB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03095/0.5554, allocations: 5.754 MB / 495.5 MB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/0.5657, allocations: 4.861 MB / 0.4887 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007531/0.5665, allocations: 0.6987 MB / 0.4893 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003227/0.5697, allocations: 0.9179 MB / 0.4902 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03418/0.6039, allocations: 13.59 MB / 0.5035 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002458/0.6042, allocations: 11.95 kB / 0.5035 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002556/0.6068, allocations: 388 kB / 0.5039 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005192/0.6073, allocations: 463.9 kB / 0.5043 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0297/0.637, allocations: 12.82 MB / 0.5169 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4577/1.095, allocations: 46.46 MB / 0.5622 GB, free: 119.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/1.108, allocations: 17.1 MB / 0.5789 GB, free: 105 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002918/1.111, allocations: 1.865 MB / 0.5808 GB, free: 104.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009715/1.121, allocations: 5.973 MB / 0.5866 GB, free: 104.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/1.121, allocations: 54.64 kB / 0.5866 GB, free: 104.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 4.138e-06/1.121, allocations: 3.531 kB / 0.5866 GB, free: 104.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.0072/1.128, allocations: 4.324 MB / 0.5909 GB, free: 103.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/1.128, allocations: 73.58 kB / 0.5909 GB, free: 103.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004595/1.133, allocations: 3.339 MB / 0.5942 GB, free: 102.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002191/1.133, allocations: 60.52 kB / 0.5943 GB, free: 102.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/1.135, allocations: 4.346 MB / 0.5985 GB, free: 99.94 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005715/1.136, allocations: 0.7213 MB / 0.5992 GB, free: 99.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/1.137, allocations: 1.065 MB / 0.6002 GB, free: 98.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.87e-05/1.137, allocations: 308.6 kB / 0.6005 GB, free: 98.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/1.139, allocations: 2.038 MB / 0.6025 GB, free: 97.87 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/1.143, allocations: 4.691 MB / 0.6071 GB, free: 93.55 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005601/1.148, allocations: 7.093 MB / 0.614 GB, free: 87.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-05/1.148, allocations: 25.78 kB / 0.6141 GB, free: 87.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.008797/1.157, allocations: 7.026 MB / 0.6209 GB, free: 84.78 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/1.157, allocations: 47.31 kB / 0.621 GB, free: 84.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.768e-05/1.157, allocations: 97.02 kB / 0.6211 GB, free: 84.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000854/1.158, allocations: 431 kB / 0.6215 GB, free: 84.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/1.161, allocations: 1.177 MB / 0.6226 GB, free: 84.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/1.165, allocations: 4.388 MB / 0.6269 GB, free: 81.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/1.169, allocations: 0.742 MB / 0.6276 GB, free: 80.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003867/1.169, allocations: 282.3 kB / 0.6279 GB, free: 80.55 MB / 478.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.004801/1.174, allocations: 3.49 MB / 0.6313 GB, free: 78.35 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006222/1.175, allocations: 302.2 kB / 0.6316 GB, free: 78.17 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/1.179, allocations: 3.304 MB / 0.6348 GB, free: 74.85 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002854/1.182, allocations: 2.542 MB / 0.6373 GB, free: 72.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.182, allocations: 4 kB / 0.6373 GB, free: 72.29 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/1.182, allocations: 7.969 kB / 0.6373 GB, free: 72.29 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/1.195, allocations: 9.307 MB / 0.6464 GB, free: 62.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.195, allocations: 4.031 kB / 0.6464 GB, free: 62.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.196, allocations: 365.6 kB / 0.6468 GB, free: 62.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006286/1.197, allocations: 308.6 kB / 0.6471 GB, free: 62.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/1.197, allocations: 39.98 kB / 0.6471 GB, free: 62.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003732/1.201, allocations: 4.197 MB / 0.6512 GB, free: 57.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.201, allocations: 0 / 0.6512 GB, free: 57.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/1.206, allocations: 4.724 MB / 0.6558 GB, free: 53.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/1.208, allocations: 0.5962 MB / 0.6564 GB, free: 52.53 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/1.208, allocations: 35.98 kB / 0.6564 GB, free: 52.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.209, allocations: 135.8 kB / 0.6565 GB, free: 52.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/1.209, allocations: 125.7 kB / 0.6567 GB, free: 52.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/1.209, allocations: 63.16 kB / 0.6567 GB, free: 52.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00257/1.212, allocations: 2.198 MB / 0.6589 GB, free: 49.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.212, allocations: 0 / 0.6589 GB, free: 49.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005138/1.217, allocations: 2.066 MB / 0.6609 GB, free: 47.91 MB / 478.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.005801/1.223, allocations: 5.355 MB / 0.6661 GB, free: 42.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006314/1.229, allocations: 4.73 MB / 0.6707 GB, free: 37.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.229, allocations: 0 / 0.6707 GB, free: 37.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/1.231, allocations: 1.596 MB / 0.6723 GB, free: 36.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/1.235, allocations: 0.6809 MB / 0.673 GB, free: 35.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06062/1.295, allocations: 42.86 MB / 0.7148 GB, free: 5.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008434/1.304, allocations: 5.788 MB / 0.7205 GB, free: 15.61 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.004525/1.308, allocations: 1.832 MB / 0.7223 GB, free: 13.77 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00421/1.312, allocations: 2.854 MB / 0.7251 GB, free: 10.91 MB / 0.4982 GB Notification: Performance of SimCode: time 1.372e-06/1.312, allocations: 0 / 0.7251 GB, free: 10.91 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3724/1.685, allocations: 91.51 MB / 0.8144 GB, free: 139.5 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/17.65, allocations: 10.31 kB / 0.8144 GB, free: 139.5 MB / 0.5138 GB (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