Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002336/0.002341, allocations: 187.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.184/2.184, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001123/0.001123, allocations: 98.83 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4327/0.4327, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.000459, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01052/0.1287, allocations: 6.193 MB / 496.4 MB, free: 3.117 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006144/0.1349, allocations: 2.226 MB / 498.6 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.1362, allocations: 24 kB / 498.7 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.1376, allocations: 262.3 kB / 498.9 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.1412, allocations: 0.8141 MB / 499.7 MB, free: 15.79 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.1447, allocations: 0.7367 MB / 0.4887 GB, free: 15.05 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002826/0.1475, allocations: 0.9786 MB / 0.4897 GB, free: 14.07 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004691/0.1523, allocations: 1.494 MB / 0.4912 GB, free: 12.55 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.1535, allocations: 0.4982 MB / 0.4916 GB, free: 12.05 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.1549, allocations: 0.6186 MB / 0.4922 GB, free: 11.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003529/0.1553, allocations: 56 kB / 0.4923 GB, free: 11.37 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.1565, allocations: 239.8 kB / 0.4925 GB, free: 11.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003741/0.1569, allocations: 231.1 kB / 0.4927 GB, free: 10.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005397/0.1575, allocations: 241.1 kB / 0.493 GB, free: 10.67 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002845/0.1604, allocations: 1.309 MB / 0.4943 GB, free: 9.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1604, allocations: 0 / 0.4943 GB, free: 9.355 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.1604, allocations: 0 / 0.4943 GB, free: 9.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.447e-05/0.1605, allocations: 4 kB / 0.4943 GB, free: 9.352 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.01125/0.1718, allocations: 2.17 MB / 0.4964 GB, free: 7.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.1718, allocations: 12.02 kB / 0.4964 GB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01624/0.1881, allocations: 1.505 MB / 0.4979 GB, free: 5.609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.1897, allocations: 0.6002 MB / 0.4984 GB, free: 4.965 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.1899, allocations: 98.72 kB / 0.4985 GB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.1903, allocations: 136 kB / 0.4987 GB, free: 4.734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004622/0.195, allocations: 1.519 MB / 0.5002 GB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-05/0.1951, allocations: 7.906 kB / 0.5002 GB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.1953, allocations: 52 kB / 0.5002 GB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/0.1954, allocations: 43.98 kB / 0.5002 GB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004861/0.2003, allocations: 1.58 MB / 0.5018 GB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.2144, allocations: 5.547 MB / 0.5072 GB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004329/0.2188, allocations: 2.366 MB / 0.5095 GB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/0.2192, allocations: 114 kB / 0.5096 GB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.2192, allocations: 43.56 kB / 0.5097 GB, free: 8.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 4.829e-06/0.2192, allocations: 0 / 0.5097 GB, free: 8.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=129): time 0.01773/0.237, allocations: 3.141 MB / 0.5127 GB, free: 5.652 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.2371, allocations: 94.11 kB / 0.5128 GB, free: 5.543 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009123/0.238, allocations: 477.9 kB / 0.5133 GB, free: 5.066 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002439/0.2383, allocations: 49.73 kB / 0.5133 GB, free: 5.012 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/0.2387, allocations: 0.5211 MB / 0.5138 GB, free: 4.484 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000626/0.2394, allocations: 425.7 kB / 0.5142 GB, free: 4.062 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.2395, allocations: 32 kB / 0.5143 GB, free: 4.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.2397, allocations: 358.8 kB / 0.5146 GB, free: 3.672 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.2414, allocations: 471.1 kB / 0.5151 GB, free: 3.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/0.2434, allocations: 0.7403 MB / 0.5158 GB, free: 2.359 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/0.2454, allocations: 0.5374 MB / 0.5163 GB, free: 1.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/0.2455, allocations: 7.953 kB / 0.5163 GB, free: 1.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00573/0.2513, allocations: 1.615 MB / 0.5179 GB, free: 196 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.2513, allocations: 12 kB / 0.5179 GB, free: 184 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.2514, allocations: 8 kB / 0.5179 GB, free: 176 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3636/0.615, allocations: 0.5202 MB / 0.5184 GB, free: 42.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.6168, allocations: 217.5 kB / 0.5186 GB, free: 42.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.6299, allocations: 5.01 MB / 0.5235 GB, free: 40.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.6314, allocations: 145.8 kB / 0.5237 GB, free: 40.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.6316, allocations: 50.73 kB / 0.5237 GB, free: 40.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0006881/0.6323, allocations: 273.5 kB / 0.524 GB, free: 39.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.6326, allocations: 84.75 kB / 0.5241 GB, free: 39.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00478/0.6374, allocations: 1.595 MB / 0.5256 GB, free: 39.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/0.6375, allocations: 13.23 kB / 0.5256 GB, free: 39.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6375, allocations: 4.219 kB / 0.5256 GB, free: 39.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/0.6375, allocations: 6.906 kB / 0.5256 GB, free: 39.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007966/0.6455, allocations: 2.908 MB / 0.5285 GB, free: 37.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.6456, allocations: 1.094 kB / 0.5285 GB, free: 37.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.6469, allocations: 153.2 kB / 0.5286 GB, free: 37.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/0.6498, allocations: 0.5108 MB / 0.5291 GB, free: 37.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002882/0.6501, allocations: 29 kB / 0.5292 GB, free: 37.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/0.6633, allocations: 5.008 MB / 0.534 GB, free: 34.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6634, allocations: 1.219 kB / 0.534 GB, free: 34.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006743/0.6701, allocations: 2.337 MB / 0.5363 GB, free: 33.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007001/0.6709, allocations: 275.5 kB / 0.5366 GB, free: 32.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.6711, allocations: 28.59 kB / 0.5366 GB, free: 32.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.6722, allocations: 55.28 kB / 0.5367 GB, free: 32.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000478/0.6727, allocations: 101.5 kB / 0.5368 GB, free: 32.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.6729, allocations: 37.58 kB / 0.5368 GB, free: 32.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005696/0.6735, allocations: 311.9 kB / 0.5371 GB, free: 32.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6735, allocations: 1 kB / 0.5371 GB, free: 32.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002131/0.6756, allocations: 428.2 kB / 0.5375 GB, free: 32.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004017/0.6761, allocations: 157.1 kB / 0.5377 GB, free: 32.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005953/0.682, allocations: 1.885 MB / 0.5395 GB, free: 31.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.6821, allocations: 1.188 kB / 0.5395 GB, free: 31.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003883/0.686, allocations: 1.236 MB / 0.5407 GB, free: 30.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009049/0.6869, allocations: 81.66 kB / 0.5408 GB, free: 30.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/0.6923, allocations: 2.612 MB / 0.5433 GB, free: 29.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/0.6931, allocations: 1.116 MB / 0.5444 GB, free: 28.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/0.6936, allocations: 71.61 kB / 0.5445 GB, free: 28.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6937, allocations: 0 / 0.5445 GB, free: 28.53 MB / 362.7 MB Notification: Performance of Templates: time 0.03134/0.725, allocations: 17.47 MB / 0.5615 GB, free: 13.6 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches