Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",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.0007948/0.0007948, allocations: 177.6 kB / 16.72 MB, free: 4.957 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.093/1.093, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007008/0.0007009, allocations: 92.95 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2574/0.2574, allocations: 43.57 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003227, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08412/0.08445, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.1612/0.2457, allocations: 19.91 MB / 0.4989 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009885/0.2557, allocations: 5.071 MB / 0.5038 GB, free: 32.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/0.2586, allocations: 154.9 kB / 0.504 GB, free: 32.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.2606, allocations: 1.018 MB / 0.505 GB, free: 32.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005247/0.2658, allocations: 2.048 MB / 0.507 GB, free: 31.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.2689, allocations: 1.314 MB / 0.5082 GB, free: 30.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0109/0.2799, allocations: 13.81 MB / 0.5217 GB, free: 23.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0452/0.3251, allocations: 32.93 MB / 0.5539 GB, free: 7.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007506/0.3326, allocations: 5.574 MB / 0.5593 GB, free: 2.141 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009445/0.3421, allocations: 6.303 MB / 0.5655 GB, free: 12.7 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003184/0.3453, allocations: 0.8398 MB / 0.5663 GB, free: 11.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005539/0.3509, allocations: 1.057 MB / 0.5673 GB, free: 10.83 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004239/0.3551, allocations: 2.718 MB / 0.57 GB, free: 8.539 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01116/0.3663, allocations: 6.464 MB / 0.5763 GB, free: 2.32 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02065/0.387, allocations: 24.05 MB / 0.5998 GB, free: 11.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.387, allocations: 3.984 kB / 0.5998 GB, free: 11.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3871, allocations: 0 / 0.5998 GB, free: 11.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006804/0.3877, allocations: 0 / 0.5998 GB, free: 11.18 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.04114/0.4289, allocations: 15.7 MB / 0.6151 GB, free: 11.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4289, allocations: 12.03 kB / 0.6151 GB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005974/0.4349, allocations: 2.05 MB / 0.6171 GB, free: 9.297 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05759/0.4925, allocations: 12.75 MB / 0.6296 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/0.5072, allocations: 7.905 MB / 0.6373 GB, free: 4.527 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/0.5083, allocations: 1.079 MB / 0.6384 GB, free: 3.445 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004451/0.5128, allocations: 1.387 MB / 0.6397 GB, free: 2.059 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05032/0.5631, allocations: 24.02 MB / 0.6632 GB, free: 9.938 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005109/0.5636, allocations: 19.81 kB / 0.6632 GB, free: 9.918 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003598/0.5673, allocations: 0.5742 MB / 0.6637 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000649/0.5679, allocations: 0.7257 MB / 0.6645 GB, free: 8.617 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3462/0.9141, allocations: 22.39 MB / 0.6863 GB, free: 106.6 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08936/1.004, allocations: 73.54 MB / 0.7581 GB, free: 63.5 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01703/1.021, allocations: 31.59 MB / 0.789 GB, free: 34.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00853/1.029, allocations: 5.074 MB / 0.7939 GB, free: 29.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02671/1.056, allocations: 15.85 MB / 0.8094 GB, free: 13.91 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/1.056, allocations: 94.05 kB / 0.8095 GB, free: 13.8 MB / 490.8 MB Notification: Performance of pre-optimization done (n=465): time 5.681e-06/1.056, allocations: 0 / 0.8095 GB, free: 13.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=465): time 0.02959/1.086, allocations: 15.77 MB / 0.8249 GB, free: 13.95 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/1.086, allocations: 120.7 kB / 0.825 GB, free: 13.81 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006513/1.092, allocations: 5.221 MB / 0.8301 GB, free: 8.594 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0003834/1.093, allocations: 97.7 kB / 0.8302 GB, free: 8.492 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00318/1.096, allocations: 6.047 MB / 0.8361 GB, free: 2.414 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.097, allocations: 1.591 MB / 0.8377 GB, free: 0.8359 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/1.097, allocations: 156 kB / 0.8378 GB, free: 0.6836 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0003534/1.098, allocations: 0.6362 MB / 0.8384 GB, free: 44 kB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005494/1.103, allocations: 4.2 MB / 0.8425 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007095/1.11, allocations: 7.549 MB / 0.8499 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01353/1.124, allocations: 12.34 MB / 0.862 GB, free: 4.789 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.436e-05/1.124, allocations: 32 kB / 0.862 GB, free: 4.758 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01878/1.143, allocations: 13.39 MB / 0.8751 GB, free: 7.34 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-05/1.143, allocations: 59.98 kB / 0.8751 GB, free: 7.281 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/1.143, allocations: 112 kB / 0.8752 GB, free: 7.172 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005832/1.149, allocations: 3.098 MB / 0.8783 GB, free: 4.066 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005234/1.154, allocations: 1.673 MB / 0.8799 GB, free: 2.391 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.201/1.355, allocations: 21.88 MB / 0.9013 GB, free: 155.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005355/1.361, allocations: 1.122 MB / 0.9024 GB, free: 155.5 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000741/1.361, allocations: 404.1 kB / 0.9027 GB, free: 155.4 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0069/1.368, allocations: 5.464 MB / 0.9081 GB, free: 153.1 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007631/1.369, allocations: 0.5077 MB / 0.9086 GB, free: 153.1 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.382, allocations: 9.688 MB / 0.918 GB, free: 149.4 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/1.382, allocations: 48.97 kB / 0.9181 GB, free: 149.4 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.382, allocations: 2.625 kB / 0.9181 GB, free: 149.4 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.51e-05/1.382, allocations: 29.64 kB / 0.9181 GB, free: 149.4 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03171/1.413, allocations: 20.89 MB / 0.9385 GB, free: 141.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/1.413, allocations: 0 / 0.9385 GB, free: 141.7 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004219/1.418, allocations: 0.7406 MB / 0.9392 GB, free: 141.7 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007879/1.426, allocations: 2.955 MB / 0.9421 GB, free: 140.9 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007217/1.426, allocations: 97.19 kB / 0.9422 GB, free: 140.8 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02408/1.45, allocations: 21.66 MB / 0.9634 GB, free: 129.4 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.45, allocations: 6.875 kB / 0.9634 GB, free: 129.4 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/1.467, allocations: 14.18 MB / 0.9772 GB, free: 117 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/1.469, allocations: 1.399 MB / 0.9786 GB, free: 115.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005665/1.469, allocations: 76 kB / 0.9787 GB, free: 115.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002435/1.472, allocations: 407.4 kB / 0.979 GB, free: 115.1 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001126/1.473, allocations: 379.6 kB / 0.9794 GB, free: 114.7 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002689/1.473, allocations: 128 kB / 0.9795 GB, free: 114.6 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.003891/1.477, allocations: 3.465 MB / 0.9829 GB, free: 111.2 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.3e-07/1.477, allocations: 0 / 0.9829 GB, free: 111.2 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.007211/1.484, allocations: 3.472 MB / 0.9863 GB, free: 107.7 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.01542/1.5, allocations: 14.92 MB / 1.001 GB, free: 92.73 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.513, allocations: 11.54 MB / 1.012 GB, free: 81.13 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.514, allocations: 4 kB / 1.012 GB, free: 81.13 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.006981/1.52, allocations: 5.965 MB / 1.018 GB, free: 75.08 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004907/1.525, allocations: 1.199 MB / 1.019 GB, free: 73.91 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2569/1.782, allocations: 69.06 MB / 1.087 GB, free: 157.2 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01094/1.793, allocations: 8.914 MB / 1.095 GB, free: 156.3 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005763/1.799, allocations: 4.889 MB / 1.1 GB, free: 154.5 MB / 0.5418 GB Notification: Performance of SimCode: time 8.11e-07/1.799, allocations: 0 / 1.1 GB, free: 154.5 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.04/12.84, allocations: 440.3 MB / 1.53 GB, free: 162.5 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches