Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009646/0.0009647, allocations: 202.4 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 226.5 MB / 244.7 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007471/0.0007471, allocations: 95.41 kB / 296.7 MB, free: 6.703 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002284/0.0002285, allocations: 4 kB / 356.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1983, allocations: 51.29 MB / 408.1 MB, free: 27.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01001/0.2083, allocations: 14.27 MB / 422.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006921/0.2153, allocations: 3.772 MB / 426.2 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.2178, allocations: 127.6 kB / 426.3 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.2197, allocations: 0.6832 MB / 427 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003735/0.2235, allocations: 1.085 MB / 428.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.226, allocations: 0.9288 MB / 429 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006631/0.2327, allocations: 7.583 MB / 436.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03725/0.2699, allocations: 21.66 MB / 458.2 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005604/0.2756, allocations: 3.278 MB / 461.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005992/0.2816, allocations: 3.657 MB / 465.2 MB, free: 2.293 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001866/0.2835, allocations: 0.5508 MB / 465.7 MB, free: 1.742 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/0.287, allocations: 0.8044 MB / 466.5 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002253/0.2893, allocations: 1.487 MB / 468 MB, free: 15.45 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006757/0.2961, allocations: 3.883 MB / 471.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.3118, allocations: 15.51 MB / 487.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3119, allocations: 0 / 487.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3119, allocations: 0 / 487.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005634/0.3125, allocations: 0 / 487.4 MB, free: 11.98 MB / 362.7 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.02335/0.3359, allocations: 8.517 MB / 495.9 MB, free: 3.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.3359, allocations: 15.97 kB / 495.9 MB, free: 3.375 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004208/0.3401, allocations: 1.291 MB / 497.2 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01811/0.3583, allocations: 3.771 MB / 0.4893 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.3683, allocations: 5.175 MB / 0.4943 GB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006789/0.369, allocations: 0.6785 MB / 0.495 GB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003028/0.3721, allocations: 0.8867 MB / 0.4958 GB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3814/0.7535, allocations: 12.67 MB / 0.5082 GB, free: 73.91 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002295/0.7537, allocations: 6.594 kB / 0.5082 GB, free: 73.91 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002027/0.7558, allocations: 374.3 kB / 0.5086 GB, free: 73.62 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003785/0.7562, allocations: 403.1 kB / 0.509 GB, free: 73.59 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/0.7785, allocations: 11.35 MB / 0.5201 GB, free: 68.65 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06053/0.8391, allocations: 44.31 MB / 0.5633 GB, free: 27.57 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008126/0.8472, allocations: 10.51 MB / 0.5736 GB, free: 15.8 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002531/0.8498, allocations: 1.714 MB / 0.5753 GB, free: 14.1 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003622/0.8502, allocations: 219.7 kB / 0.5755 GB, free: 13.85 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.8502, allocations: 60.56 kB / 0.5755 GB, free: 13.79 MB / 378.8 MB Notification: Performance of pre-optimization done (n=229): time 5.079e-06/0.8503, allocations: 4 kB / 0.5755 GB, free: 13.78 MB / 378.8 MB Notification: Performance of matching and sorting (n=229): time 0.008168/0.8584, allocations: 4.773 MB / 0.5802 GB, free: 8.984 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.8585, allocations: 77.34 kB / 0.5803 GB, free: 8.895 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/0.8628, allocations: 2.906 MB / 0.5831 GB, free: 5.969 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003/0.8631, allocations: 65.7 kB / 0.5832 GB, free: 5.898 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.8646, allocations: 3.812 MB / 0.5869 GB, free: 2.059 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007064/0.8653, allocations: 0.8121 MB / 0.5877 GB, free: 1.254 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/0.8656, allocations: 96 kB / 0.5878 GB, free: 1.16 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002758/0.8659, allocations: 0.5 MB / 0.5883 GB, free: 0.6523 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003282/0.8692, allocations: 1.993 MB / 0.5902 GB, free: 14.65 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005137/0.8744, allocations: 4.173 MB / 0.5943 GB, free: 9.414 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007942/0.8824, allocations: 6.565 MB / 0.6007 GB, free: 1.77 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-05/0.8825, allocations: 24 kB / 0.6007 GB, free: 1.746 MB / 394.8 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.0119/0.8944, allocations: 6.548 MB / 0.6071 GB, free: 11.14 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.173e-05/0.8945, allocations: 38.66 kB / 0.6072 GB, free: 11.11 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/0.8947, allocations: 76 kB / 0.6072 GB, free: 11.03 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.8957, allocations: 408.7 kB / 0.6076 GB, free: 10.63 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/0.8993, allocations: 1.065 MB / 0.6087 GB, free: 9.562 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004987/0.9043, allocations: 4.063 MB / 0.6126 GB, free: 5.371 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/0.9078, allocations: 0.6192 MB / 0.6132 GB, free: 4.746 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007105/0.9085, allocations: 244 kB / 0.6135 GB, free: 4.508 MB / 410.8 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 (569): * Single equations (assignments): 564 * 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.005782/0.9143, allocations: 3.373 MB / 0.6168 GB, free: 1.121 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007177/0.9151, allocations: 280.5 kB / 0.617 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006278/0.9214, allocations: 3.643 MB / 0.6206 GB, free: 13.18 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004076/0.9255, allocations: 2.866 MB / 0.6234 GB, free: 10.3 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.142e-05/0.9255, allocations: 11.94 kB / 0.6234 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.9255, allocations: 11.95 kB / 0.6234 GB, free: 10.28 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/0.9449, allocations: 10.04 MB / 0.6332 GB, free: 208 kB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.9449, allocations: 3.938 kB / 0.6332 GB, free: 204 kB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.9466, allocations: 411.4 kB / 0.6336 GB, free: 15.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007388/0.9473, allocations: 312.9 kB / 0.6339 GB, free: 15.49 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/0.9476, allocations: 51.98 kB / 0.634 GB, free: 15.44 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004472/0.9521, allocations: 3.889 MB / 0.6377 GB, free: 11.42 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.9521, allocations: 8.031 kB / 0.6378 GB, free: 11.41 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007404/0.9595, allocations: 5.23 MB / 0.6429 GB, free: 6.148 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.9607, allocations: 0.6181 MB / 0.6435 GB, free: 5.508 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004567/0.9612, allocations: 36 kB / 0.6435 GB, free: 5.473 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.9625, allocations: 135.8 kB / 0.6436 GB, free: 5.34 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003833/0.9629, allocations: 149.7 kB / 0.6438 GB, free: 5.191 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.9631, allocations: 67.98 kB / 0.6438 GB, free: 5.125 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003134/0.9662, allocations: 1.943 MB / 0.6457 GB, free: 3.172 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9662, allocations: 0 / 0.6457 GB, free: 3.172 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.004902/0.9711, allocations: 1.964 MB / 0.6477 GB, free: 1.203 MB / 442.8 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 (218): * Single equations (assignments): 213 * 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.007593/0.9787, allocations: 5.892 MB / 0.6534 GB, free: 11.27 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007018/0.9858, allocations: 4.68 MB / 0.658 GB, free: 6.582 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9858, allocations: 0 / 0.658 GB, free: 6.582 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002573/0.9884, allocations: 1.771 MB / 0.6597 GB, free: 4.797 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/0.9923, allocations: 0.6293 MB / 0.6603 GB, free: 4.18 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2067/1.199, allocations: 33.58 MB / 0.6931 GB, free: 153.7 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004207/1.203, allocations: 5.478 MB / 0.6985 GB, free: 151.4 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002574/1.206, allocations: 2.763 MB / 0.7012 GB, free: 148.9 MB / 474.8 MB Notification: Performance of SimCode: time 7.02e-07/1.206, allocations: 0 / 0.7012 GB, free: 148.9 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.825/7.03, allocations: 161.1 MB / 0.8585 GB, free: 131.2 MB / 474.8 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches