Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001516/0.001516, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001685, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 59.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3198, allocations: 50.54 MB / 408.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0205/0.3404, allocations: 16.51 MB / 425.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.3513, allocations: 4.145 MB / 429.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004497/0.3559, allocations: 135.6 kB / 429.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01709/0.373, allocations: 7.439 MB / 437.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006475/0.3795, allocations: 1.316 MB / 438.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.3838, allocations: 1.239 MB / 439.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01205/0.3958, allocations: 8.261 MB / 447.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03453/0.4304, allocations: 22.5 MB / 470.4 MB, free: 3.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007755/0.4382, allocations: 4.816 MB / 475.2 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008747/0.447, allocations: 5.33 MB / 480.5 MB, free: 9.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004043/0.451, allocations: 1.383 MB / 481.9 MB, free: 8.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005344/0.4564, allocations: 1.66 MB / 483.6 MB, free: 6.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004191/0.4606, allocations: 2.58 MB / 486.1 MB, free: 3.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009177/0.4698, allocations: 5.218 MB / 491.4 MB, free: 14.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02342/0.4933, allocations: 18.35 MB / 0.4978 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4933, allocations: 4 kB / 0.4978 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4933, allocations: 0 / 0.4978 GB, free: 12.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005751/0.4939, allocations: 0 / 0.4978 GB, free: 12.12 MB / 430.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.03192/0.5258, allocations: 10.62 MB / 0.5082 GB, free: 1.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.5259, allocations: 16.03 kB / 0.5082 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00403/0.5299, allocations: 1.291 MB / 0.5094 GB, free: 96 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0194/0.5494, allocations: 3.704 MB / 0.513 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/0.5608, allocations: 5.382 MB / 0.5183 GB, free: 6.934 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007365/0.5616, allocations: 0.6824 MB / 0.519 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003732/0.5653, allocations: 0.8867 MB / 0.5198 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03622/0.6015, allocations: 12.73 MB / 0.5323 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002522/0.6018, allocations: 7.953 kB / 0.5323 GB, free: 8.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00251/0.6044, allocations: 379.9 kB / 0.5326 GB, free: 8.219 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004533/0.6048, allocations: 411 kB / 0.533 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4964/1.101, allocations: 11.43 MB / 0.5442 GB, free: 111.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06593/1.167, allocations: 43.72 MB / 0.5869 GB, free: 78.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008276/1.176, allocations: 10.51 MB / 0.5971 GB, free: 66.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/1.177, allocations: 1.675 MB / 0.5988 GB, free: 65.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/1.178, allocations: 231.8 kB / 0.599 GB, free: 64.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/1.178, allocations: 56.56 kB / 0.5991 GB, free: 64.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 4.659e-06/1.178, allocations: 2.812 kB / 0.5991 GB, free: 64.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.007318/1.185, allocations: 4.696 MB / 0.6036 GB, free: 60.15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/1.185, allocations: 77.41 kB / 0.6037 GB, free: 60.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/1.189, allocations: 2.926 MB / 0.6066 GB, free: 57.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002226/1.189, allocations: 61.7 kB / 0.6066 GB, free: 57.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001899/1.191, allocations: 3.981 MB / 0.6105 GB, free: 53.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006424/1.192, allocations: 0.8269 MB / 0.6113 GB, free: 52.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/1.193, allocations: 0.9566 MB / 0.6123 GB, free: 51.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.497e-05/1.193, allocations: 309.1 kB / 0.6126 GB, free: 51.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/1.195, allocations: 1.976 MB / 0.6145 GB, free: 49.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002913/1.198, allocations: 4.16 MB / 0.6186 GB, free: 44.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005478/1.203, allocations: 6.517 MB / 0.6249 GB, free: 36.67 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-05/1.204, allocations: 20 kB / 0.6249 GB, free: 36.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008679/1.212, allocations: 6.535 MB / 0.6313 GB, free: 30.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/1.212, allocations: 43 kB / 0.6314 GB, free: 30.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/1.212, allocations: 76 kB / 0.6314 GB, free: 29.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008555/1.213, allocations: 412.5 kB / 0.6318 GB, free: 29.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/1.216, allocations: 1.068 MB / 0.6329 GB, free: 28.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004037/1.22, allocations: 4.386 MB / 0.6371 GB, free: 24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003248/1.223, allocations: 0.6325 MB / 0.6378 GB, free: 23.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003468/1.224, allocations: 252 kB / 0.638 GB, free: 23.12 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.004177/1.228, allocations: 3.376 MB / 0.6413 GB, free: 19.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005679/1.229, allocations: 282.1 kB / 0.6416 GB, free: 19.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004669/1.233, allocations: 3.577 MB / 0.6451 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003137/1.236, allocations: 2.823 MB / 0.6478 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.236, allocations: 4 kB / 0.6478 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.236, allocations: 11.95 kB / 0.6478 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/1.25, allocations: 9.885 MB / 0.6575 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.25, allocations: 4.156 kB / 0.6575 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/1.251, allocations: 419.4 kB / 0.6579 GB, free: 2.641 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006348/1.252, allocations: 320.7 kB / 0.6582 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/1.252, allocations: 47.98 kB / 0.6582 GB, free: 2.277 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004532/1.256, allocations: 4.2 MB / 0.6623 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.256, allocations: 0 / 0.6623 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007725/1.264, allocations: 5.154 MB / 0.6674 GB, free: 8.746 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.266, allocations: 0.6157 MB / 0.668 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003439/1.266, allocations: 47.94 kB / 0.668 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.267, allocations: 127.8 kB / 0.6682 GB, free: 7.938 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/1.267, allocations: 153.9 kB / 0.6683 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.267, allocations: 71.97 kB / 0.6684 GB, free: 7.719 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003124/1.271, allocations: 1.959 MB / 0.6703 GB, free: 5.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.271, allocations: 0 / 0.6703 GB, free: 5.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005399/1.276, allocations: 1.988 MB / 0.6722 GB, free: 3.754 MB / 478.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.008574/1.285, allocations: 5.803 MB / 0.6779 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007779/1.292, allocations: 4.635 MB / 0.6824 GB, free: 9.258 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.292, allocations: 0 / 0.6824 GB, free: 9.258 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00284/1.295, allocations: 1.748 MB / 0.6841 GB, free: 7.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/1.299, allocations: 0.6692 MB / 0.6848 GB, free: 6.844 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06945/1.368, allocations: 40.16 MB / 0.724 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007752/1.376, allocations: 5.645 MB / 0.7295 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004164/1.38, allocations: 1.694 MB / 0.7312 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004489/1.385, allocations: 2.741 MB / 0.7338 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/1.385, allocations: 0 / 0.7338 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3549/1.74, allocations: 89.25 MB / 0.821 GB, free: 141.9 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/17.86, allocations: 15.61 kB / 0.821 GB, free: 141.9 MB / 0.5451 GB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches