Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1934/0.1934, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 61.12 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.1007, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008081/0.1088, allocations: 7.727 MB / 477.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.1133, allocations: 2.365 MB / 479.4 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000552/0.1139, allocations: 27.94 kB / 479.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.1176, allocations: 1.807 MB / 481.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.1195, allocations: 0.8695 MB / 482.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.1214, allocations: 0.886 MB / 483 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.1228, allocations: 1.397 MB / 484.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.1241, allocations: 1.017 MB / 485.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000613/0.1247, allocations: 0.6033 MB / 486.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/0.1254, allocations: 0.7198 MB / 486.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.1256, allocations: 112 kB / 486.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007255/0.1263, allocations: 331.8 kB / 487.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.1265, allocations: 298.9 kB / 487.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.1271, allocations: 0.653 MB / 488.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.1288, allocations: 1.732 MB / 489.9 MB, free: 9.664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1288, allocations: 4 kB / 489.9 MB, free: 9.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1288, allocations: 0 / 489.9 MB, free: 9.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.1288, allocations: 3.938 kB / 489.9 MB, free: 9.656 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007229/0.136, allocations: 2.381 MB / 492.3 MB, free: 7.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.1361, allocations: 12.03 kB / 492.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002045/0.1363, allocations: 190.7 kB / 492.5 MB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.1465, allocations: 1.389 MB / 493.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008926/0.1474, allocations: 0.6051 MB / 494.5 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.816e-05/0.1475, allocations: 103 kB / 494.6 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.1477, allocations: 136.1 kB / 494.7 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.15, allocations: 1.483 MB / 496.2 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.1501, allocations: 7.906 kB / 496.2 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.1502, allocations: 59.98 kB / 496.2 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.1503, allocations: 32 kB / 496.3 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.1527, allocations: 1.509 MB / 497.8 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00707/0.1598, allocations: 5.385 MB / 0.4914 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.1621, allocations: 2.175 MB / 0.4935 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000958/0.163, allocations: 0.6476 MB / 0.4941 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.1632, allocations: 106.1 kB / 0.4942 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1632, allocations: 47.56 kB / 0.4943 GB, free: 8.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 2.896e-06/0.1632, allocations: 0 / 0.4943 GB, free: 8.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008587/0.1718, allocations: 3.098 MB / 0.4973 GB, free: 5.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.1719, allocations: 90.11 kB / 0.4974 GB, free: 5.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.1723, allocations: 465.9 kB / 0.4978 GB, free: 5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.982e-05/0.1724, allocations: 45.7 kB / 0.4979 GB, free: 4.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.1727, allocations: 463.5 kB / 0.4983 GB, free: 4.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.173, allocations: 429.7 kB / 0.4987 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/0.1733, allocations: 218.8 kB / 0.4989 GB, free: 3.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1734, allocations: 378.8 kB / 0.4993 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008183/0.1743, allocations: 458.4 kB / 0.4997 GB, free: 3.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009479/0.1752, allocations: 0.6997 MB / 0.5004 GB, free: 2.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.177, allocations: 1.198 MB / 0.5016 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.177, allocations: 4 kB / 0.5016 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.1731/0.3501, allocations: 1.585 MB / 0.5031 GB, free: 47.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.3502, allocations: 7.594 kB / 0.5032 GB, free: 47.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.3502, allocations: 8.359 kB / 0.5032 GB, free: 47.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.3518, allocations: 0.5316 MB / 0.5037 GB, free: 47.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007952/0.3526, allocations: 197.3 kB / 0.5039 GB, free: 47.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001866/0.3528, allocations: 57.92 kB / 0.5039 GB, free: 47.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/0.3534, allocations: 119.5 kB / 0.504 GB, free: 47.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.38e-05/0.3535, allocations: 50.44 kB / 0.5041 GB, free: 47.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004006/0.3539, allocations: 271.1 kB / 0.5043 GB, free: 47.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.3541, allocations: 80.31 kB / 0.5044 GB, free: 47.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/0.3568, allocations: 1.569 MB / 0.506 GB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.3568, allocations: 13.44 kB / 0.506 GB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3568, allocations: 1.281 kB / 0.506 GB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.3568, allocations: 10.55 kB / 0.506 GB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.361, allocations: 2.87 MB / 0.5088 GB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.361, allocations: 1.094 kB / 0.5088 GB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/0.3616, allocations: 144.2 kB / 0.5089 GB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.363, allocations: 0.5254 MB / 0.5094 GB, free: 45.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-05/0.3631, allocations: 25 kB / 0.5095 GB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003109/0.3634, allocations: 69.73 kB / 0.5095 GB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3634, allocations: 7.203 kB / 0.5095 GB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.367, allocations: 2.329 MB / 0.5118 GB, free: 44.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/0.3673, allocations: 282 kB / 0.5121 GB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.3675, allocations: 20.72 kB / 0.5121 GB, free: 44.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.3681, allocations: 48.8 kB / 0.5121 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.3682, allocations: 77.69 kB / 0.5122 GB, free: 44.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/0.3683, allocations: 42.42 kB / 0.5123 GB, free: 44.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003637/0.3687, allocations: 312.2 kB / 0.5125 GB, free: 44.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3687, allocations: 0 / 0.5125 GB, free: 44.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001184/0.3699, allocations: 347.1 kB / 0.5129 GB, free: 44.11 MB / 382.1 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003923/0.3738, allocations: 2.92 MB / 0.5157 GB, free: 42.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00352/0.3774, allocations: 1.401 MB / 0.5171 GB, free: 41.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3774, allocations: 2.031 kB / 0.5171 GB, free: 41.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.379, allocations: 0.769 MB / 0.5179 GB, free: 41.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.3797, allocations: 98.25 kB / 0.5179 GB, free: 41.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.3901, allocations: 8.632 MB / 0.5264 GB, free: 36.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.3906, allocations: 1.038 MB / 0.5274 GB, free: 35.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000475/0.391, allocations: 110.7 kB / 0.5275 GB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/0.3914, allocations: 389.4 kB / 0.5279 GB, free: 35.46 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3914, allocations: 0 / 0.5279 GB, free: 35.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.428, allocations: 21.42 MB / 0.5488 GB, free: 16.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.56, allocations: 18.58 kB / 0.5488 GB, free: 16.03 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches