Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000855/0.0008549, allocations: 170.5 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000758/0.000758, allocations: 83.81 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003032, allocations: 12 kB / 327.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2088, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01199/0.2208, allocations: 14.58 MB / 389.8 MB, free: 33.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007688/0.2286, allocations: 3.867 MB / 393.6 MB, free: 30.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003119/0.2317, allocations: 111.6 kB / 393.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.2344, allocations: 0.7104 MB / 394.5 MB, free: 29.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005096/0.2395, allocations: 1.263 MB / 395.7 MB, free: 28.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.2424, allocations: 0.9099 MB / 396.6 MB, free: 27.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00734/0.2497, allocations: 7.946 MB / 404.6 MB, free: 19.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0322/0.2819, allocations: 21.73 MB / 426.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006158/0.2881, allocations: 3.395 MB / 429.7 MB, free: 9.957 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006367/0.2946, allocations: 3.856 MB / 433.6 MB, free: 6.086 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002079/0.2967, allocations: 0.5547 MB / 434.1 MB, free: 5.531 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.3004, allocations: 0.7849 MB / 434.9 MB, free: 4.746 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002646/0.3031, allocations: 1.592 MB / 436.5 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007807/0.3109, allocations: 4.031 MB / 440.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01616/0.3271, allocations: 15.65 MB / 456.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3271, allocations: 0 / 456.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3271, allocations: 4 kB / 456.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005485/0.3277, allocations: 0 / 456.2 MB, free: 15.39 MB / 346.7 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.02412/0.3518, allocations: 8.764 MB / 464.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.3519, allocations: 8.031 kB / 465 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005355/0.3572, allocations: 1.352 MB / 466.3 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02785/0.3851, allocations: 5.733 MB / 472 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009361/0.3945, allocations: 4.837 MB / 476.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007118/0.3953, allocations: 0.7064 MB / 477.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003036/0.3983, allocations: 0.9256 MB / 478.5 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03279/0.4311, allocations: 13.54 MB / 492 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00039/0.4315, allocations: 7.906 kB / 492.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002625/0.4342, allocations: 388 kB / 492.4 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004886/0.4347, allocations: 467.9 kB / 492.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3055/0.7402, allocations: 12.76 MB / 0.4938 GB, free: 93.07 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05864/0.7989, allocations: 47.07 MB / 0.5398 GB, free: 58.01 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.8099, allocations: 17.09 MB / 0.5565 GB, free: 38.58 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/0.8121, allocations: 1.901 MB / 0.5583 GB, free: 36.68 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008766/0.8209, allocations: 6.09 MB / 0.5643 GB, free: 30.54 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.821, allocations: 56.56 kB / 0.5643 GB, free: 30.48 MB / 378.8 MB Notification: Performance of pre-optimization done (n=194): time 3.637e-06/0.821, allocations: 0 / 0.5643 GB, free: 30.48 MB / 378.8 MB Notification: Performance of matching and sorting (n=194): time 0.006696/0.8277, allocations: 4.424 MB / 0.5686 GB, free: 26.04 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.8277, allocations: 69.41 kB / 0.5687 GB, free: 25.95 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004234/0.832, allocations: 3.301 MB / 0.5719 GB, free: 22.63 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.8321, allocations: 53.7 kB / 0.572 GB, free: 22.57 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001565/0.8337, allocations: 4.185 MB / 0.5761 GB, free: 18.37 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004552/0.8342, allocations: 0.7037 MB / 0.5767 GB, free: 17.67 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/0.8344, allocations: 100 kB / 0.5768 GB, free: 17.57 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002489/0.8347, allocations: 0.5206 MB / 0.5773 GB, free: 17.04 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/0.8372, allocations: 2.063 MB / 0.5794 GB, free: 14.97 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003471/0.8407, allocations: 4.702 MB / 0.584 GB, free: 8.973 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006182/0.8469, allocations: 7.156 MB / 0.5909 GB, free: 0.5273 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.768e-05/0.8469, allocations: 24 kB / 0.591 GB, free: 0.5039 MB / 378.8 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01103/0.858, allocations: 7.054 MB / 0.5979 GB, free: 9.438 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.51e-05/0.8581, allocations: 44 kB / 0.5979 GB, free: 9.395 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001353/0.8582, allocations: 92 kB / 0.598 GB, free: 9.305 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009198/0.8591, allocations: 428.1 kB / 0.5984 GB, free: 8.887 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/0.8626, allocations: 1.178 MB / 0.5995 GB, free: 7.707 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005148/0.8678, allocations: 4.06 MB / 0.6035 GB, free: 3.512 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/0.8723, allocations: 0.7274 MB / 0.6042 GB, free: 2.777 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009806/0.8733, allocations: 292 kB / 0.6045 GB, free: 2.492 MB / 394.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005855/0.8791, allocations: 3.478 MB / 0.6079 GB, free: 15 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006305/0.8798, allocations: 296.2 kB / 0.6082 GB, free: 14.71 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005415/0.8852, allocations: 3.387 MB / 0.6115 GB, free: 11.3 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003606/0.8888, allocations: 2.6 MB / 0.614 GB, free: 8.691 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.8888, allocations: 7.938 kB / 0.614 GB, free: 8.684 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/0.8889, allocations: 15.95 kB / 0.614 GB, free: 8.668 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.905, allocations: 9.406 MB / 0.6232 GB, free: 15.23 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/0.905, allocations: 11.97 kB / 0.6232 GB, free: 15.21 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/0.9064, allocations: 351.5 kB / 0.6236 GB, free: 14.87 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006647/0.907, allocations: 317.2 kB / 0.6239 GB, free: 14.56 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.9072, allocations: 43.98 kB / 0.6239 GB, free: 14.52 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004324/0.9115, allocations: 3.876 MB / 0.6277 GB, free: 10.5 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9115, allocations: 3.938 kB / 0.6277 GB, free: 10.5 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006359/0.9179, allocations: 4.812 MB / 0.6324 GB, free: 5.656 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.919, allocations: 0.614 MB / 0.633 GB, free: 5.02 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.9193, allocations: 36 kB / 0.633 GB, free: 4.984 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.9204, allocations: 139.9 kB / 0.6332 GB, free: 4.848 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.9207, allocations: 129.8 kB / 0.6333 GB, free: 4.723 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.9209, allocations: 55.98 kB / 0.6334 GB, free: 4.668 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002956/0.9238, allocations: 2.166 MB / 0.6355 GB, free: 2.5 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.535e-06/0.9238, allocations: 0 / 0.6355 GB, free: 2.5 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004709/0.9286, allocations: 2.036 MB / 0.6375 GB, free: 468 kB / 426.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006739/0.9353, allocations: 5.46 MB / 0.6428 GB, free: 10.96 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.00699/0.9423, allocations: 4.776 MB / 0.6475 GB, free: 6.188 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.9423, allocations: 8.125 kB / 0.6475 GB, free: 6.18 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.9445, allocations: 1.625 MB / 0.649 GB, free: 4.551 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/0.9478, allocations: 0.6489 MB / 0.6497 GB, free: 3.91 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.21/1.158, allocations: 35.35 MB / 0.6842 GB, free: 134.9 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007645/1.166, allocations: 5.631 MB / 0.6897 GB, free: 129.3 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004056/1.17, allocations: 2.878 MB / 0.6925 GB, free: 126.4 MB / 442.8 MB Notification: Performance of SimCode: time 7.61e-07/1.17, allocations: 0 / 0.6925 GB, free: 126.4 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.055/7.224, allocations: 166.3 MB / 0.855 GB, free: 114.6 MB / 442.8 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches