Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.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.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 180.1 kB / 16.41 MB, free: 5.707 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.87/1.87, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008549/0.0008549, allocations: 97.05 kB / 270.9 MB, free: 8.352 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.5604/0.5604, allocations: 43.55 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004313, allocations: 16 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1202, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002521/0.1228, allocations: 2.119 MB / 492.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009573/0.1237, allocations: 0.6166 MB / 493 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1239, allocations: 7.938 kB / 493 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.124, allocations: 27.77 kB / 493 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.1241, allocations: 63.52 kB / 493.1 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.1243, allocations: 47.89 kB / 493.1 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.1246, allocations: 266.8 kB / 493.4 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1248, allocations: 72.77 kB / 493.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1249, allocations: 95.64 kB / 493.5 MB, free: 7.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.1251, allocations: 103.5 kB / 493.6 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.1251, allocations: 12 kB / 493.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-05/0.1251, allocations: 12 kB / 493.7 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.1252, allocations: 35.84 kB / 493.7 MB, free: 7.496 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.1252, allocations: 69.58 kB / 493.8 MB, free: 7.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1255, allocations: 207.7 kB / 494 MB, free: 7.219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1255, allocations: 0 / 494 MB, free: 7.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1255, allocations: 0 / 494 MB, free: 7.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1255, allocations: 4 kB / 494 MB, free: 7.215 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006808/0.1262, allocations: 0.4949 MB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1262, allocations: 12.02 kB / 494.5 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.1263, allocations: 35.67 kB / 494.5 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.1265, allocations: 234.7 kB / 494.7 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.1266, allocations: 20.38 kB / 494.8 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.1266, allocations: 23.94 kB / 494.8 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.127, allocations: 187.3 kB / 495 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.127, allocations: 3.938 kB / 495 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.127, allocations: 8 kB / 495 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.127, allocations: 8 kB / 495 MB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.1273, allocations: 149.6 kB / 495.1 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.1285, allocations: 0.8103 MB / 495.9 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1287, allocations: 102.5 kB / 496 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.347e-05/0.1288, allocations: 48.84 kB / 496.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.1289, allocations: 0 / 496.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.1289, allocations: 38.56 kB / 496.1 MB, free: 4.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1289, allocations: 192 / 496.1 MB, free: 4.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001715/0.1306, allocations: 0.7486 MB / 496.9 MB, free: 4.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.1307, allocations: 59.34 kB / 496.9 MB, free: 3.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1309, allocations: 211.7 kB / 497.1 MB, free: 3.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1309, allocations: 25.7 kB / 497.2 MB, free: 3.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.131, allocations: 171.8 kB / 497.3 MB, free: 3.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.1311, allocations: 55.2 kB / 497.4 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.1311, allocations: 8 kB / 497.4 MB, free: 3.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1312, allocations: 326.8 kB / 497.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1314, allocations: 59.97 kB / 497.8 MB, free: 3.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.1315, allocations: 113.1 kB / 497.9 MB, free: 2.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1317, allocations: 75.59 kB / 498 MB, free: 2.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1317, allocations: 0 / 498 MB, free: 2.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005484/0.1323, allocations: 286.8 kB / 498.2 MB, free: 2.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1323, allocations: 4 kB / 498.2 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1323, allocations: 8.812 kB / 498.2 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.1325, allocations: 73.61 kB / 498.3 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.1327, allocations: 27.98 kB / 498.3 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1813/0.314, allocations: 2.806 MB / 0.4894 GB, free: 41.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.3143, allocations: 10.58 kB / 0.4894 GB, free: 41.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.3143, allocations: 10.41 kB / 0.4894 GB, free: 41.92 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.3144, allocations: 138.9 kB / 0.4896 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.3145, allocations: 18.12 kB / 0.4896 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.3145, allocations: 27.42 kB / 0.4896 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3145, allocations: 0.9375 kB / 0.4896 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.3145, allocations: 5.984 kB / 0.4896 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3145, allocations: 3.062 kB / 0.4896 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.3148, allocations: 284.8 kB / 0.4899 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3148, allocations: 0 / 0.4899 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.85e-05/0.3149, allocations: 20.48 kB / 0.4899 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002004/0.3151, allocations: 71.84 kB / 0.49 GB, free: 41.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3152, allocations: 4.188 kB / 0.49 GB, free: 41.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.3167, allocations: 2.793 MB / 0.4927 GB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3167, allocations: 4.203 kB / 0.4927 GB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.3174, allocations: 415.7 kB / 0.4931 GB, free: 38.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.3174, allocations: 93.97 kB / 0.4932 GB, free: 38.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.3175, allocations: 3.297 kB / 0.4932 GB, free: 38.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.3177, allocations: 20.36 kB / 0.4932 GB, free: 38.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.3177, allocations: 19.69 kB / 0.4932 GB, free: 38.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3178, allocations: 6.406 kB / 0.4932 GB, free: 38.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.3179, allocations: 154.3 kB / 0.4934 GB, free: 38.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3179, allocations: 0 / 0.4934 GB, free: 38.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003307/0.3182, allocations: 63.91 kB / 0.4935 GB, free: 38.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.455e-05/0.3183, allocations: 98 kB / 0.4935 GB, free: 38.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006378/0.319, allocations: 420.8 kB / 0.4939 GB, free: 38.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.319, allocations: 1.031 kB / 0.4939 GB, free: 38.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.3194, allocations: 336.9 kB / 0.4943 GB, free: 38.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3197, allocations: 32.55 kB / 0.4943 GB, free: 38.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009225/0.3206, allocations: 0.6359 MB / 0.4949 GB, free: 37.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.3208, allocations: 0.7496 MB / 0.4957 GB, free: 37.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.3209, allocations: 17.83 kB / 0.4957 GB, free: 37.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3209, allocations: 0 / 0.4957 GB, free: 37.19 MB / 378.7 MB Notification: Performance of Templates: time 0.006118/0.327, allocations: 4.507 MB / 0.5001 GB, free: 36.9 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches