Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001372, allocations: 107.3 kB / 17.2 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.197/0.197, allocations: 46.11 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 73.53 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09433, allocations: 62.45 MB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007418/0.1018, allocations: 7.681 MB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003748/0.1056, allocations: 2.404 MB / 489.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004069/0.106, allocations: 35.81 kB / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003372/0.1094, allocations: 1.697 MB / 491.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.1111, allocations: 0.6293 MB / 491.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.1132, allocations: 1.03 MB / 492.9 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.115, allocations: 1.343 MB / 494.2 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.1165, allocations: 0.9054 MB / 495.1 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008173/0.1173, allocations: 0.572 MB / 495.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000617/0.1179, allocations: 0.708 MB / 496.4 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.1181, allocations: 87.98 kB / 496.5 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006742/0.1187, allocations: 295.8 kB / 496.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.119, allocations: 278.8 kB / 497 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.1195, allocations: 0.6257 MB / 497.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.1208, allocations: 1.693 MB / 499.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1209, allocations: 4 kB / 499.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1209, allocations: 0 / 499.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1209, allocations: 0 / 499.4 MB, free: 1.535 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.00695/0.1278, allocations: 2.377 MB / 0.49 GB, free: 15.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1279, allocations: 12.88 kB / 0.49 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000201/0.1281, allocations: 194.6 kB / 0.4902 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00952/0.1376, allocations: 1.396 MB / 0.4915 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009535/0.1386, allocations: 0.6051 MB / 0.4921 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.28e-05/0.1387, allocations: 95.02 kB / 0.4922 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.1389, allocations: 136.1 kB / 0.4924 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.1413, allocations: 1.483 MB / 0.4938 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.1414, allocations: 7.906 kB / 0.4938 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.1415, allocations: 56 kB / 0.4939 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.1415, allocations: 32 kB / 0.4939 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.144, allocations: 1.505 MB / 0.4954 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007553/0.1516, allocations: 5.63 MB / 0.5009 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/0.1538, allocations: 2.178 MB / 0.503 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009493/0.1548, allocations: 0.6476 MB / 0.5036 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.155, allocations: 187.1 kB / 0.5038 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.155, allocations: 43.56 kB / 0.5038 GB, free: 196 kB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.276e-06/0.1551, allocations: 4 kB / 0.5038 GB, free: 192 kB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.1907/0.3458, allocations: 3.09 MB / 0.5069 GB, free: 40.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3458, allocations: 93.86 kB / 0.507 GB, free: 40.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/0.3464, allocations: 465.5 kB / 0.5074 GB, free: 40.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-05/0.3465, allocations: 45.11 kB / 0.5074 GB, free: 40.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.3468, allocations: 466.7 kB / 0.5079 GB, free: 39.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.3471, allocations: 423.9 kB / 0.5083 GB, free: 39.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004586/0.3476, allocations: 214.5 kB / 0.5085 GB, free: 39.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3477, allocations: 381.5 kB / 0.5089 GB, free: 39.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008088/0.3485, allocations: 459.5 kB / 0.5093 GB, free: 38.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009255/0.3494, allocations: 0.6925 MB / 0.51 GB, free: 38.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.3512, allocations: 1.202 MB / 0.5111 GB, free: 37.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.3512, allocations: 2.062 kB / 0.5111 GB, free: 37.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002777/0.354, allocations: 1.596 MB / 0.5127 GB, free: 36.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.354, allocations: 8.188 kB / 0.5127 GB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.354, allocations: 6.875 kB / 0.5127 GB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.3556, allocations: 0.5255 MB / 0.5132 GB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/0.3564, allocations: 196.5 kB / 0.5134 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001847/0.3566, allocations: 50.8 kB / 0.5135 GB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/0.3572, allocations: 123.8 kB / 0.5136 GB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.473e-05/0.3573, allocations: 55.73 kB / 0.5136 GB, free: 36.66 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.0003942/0.3577, allocations: 279.6 kB / 0.5139 GB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.3578, allocations: 82.09 kB / 0.514 GB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.3606, allocations: 1.558 MB / 0.5155 GB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.3606, allocations: 18.41 kB / 0.5155 GB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3606, allocations: 4.531 kB / 0.5155 GB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.3606, allocations: 7.516 kB / 0.5155 GB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00427/0.3649, allocations: 2.876 MB / 0.5183 GB, free: 34.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3649, allocations: 1.312 kB / 0.5183 GB, free: 34.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.3656, allocations: 145.8 kB / 0.5185 GB, free: 34.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/0.3671, allocations: 0.5195 MB / 0.519 GB, free: 34.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/0.3672, allocations: 26 kB / 0.519 GB, free: 34.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002977/0.3675, allocations: 61.09 kB / 0.5191 GB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3675, allocations: 0.8438 kB / 0.5191 GB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/0.3711, allocations: 2.337 MB / 0.5214 GB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.3715, allocations: 277.3 kB / 0.5216 GB, free: 32.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.3717, allocations: 25.72 kB / 0.5217 GB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005742/0.3722, allocations: 50.2 kB / 0.5217 GB, free: 32.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.3724, allocations: 75.8 kB / 0.5218 GB, free: 32.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.478e-05/0.3725, allocations: 38.59 kB / 0.5218 GB, free: 32.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003254/0.3728, allocations: 309.5 kB / 0.5221 GB, free: 32.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3729, allocations: 0 / 0.5221 GB, free: 32.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009243/0.3738, allocations: 346.5 kB / 0.5224 GB, free: 32.31 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.003728/0.3775, allocations: 2.941 MB / 0.5253 GB, free: 30.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002699/0.3802, allocations: 1.357 MB / 0.5266 GB, free: 30.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3802, allocations: 5.562 kB / 0.5266 GB, free: 30.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.3818, allocations: 0.769 MB / 0.5274 GB, free: 29.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007341/0.3826, allocations: 105.9 kB / 0.5275 GB, free: 29.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.3927, allocations: 9.147 MB / 0.5364 GB, free: 23.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.3931, allocations: 1.042 MB / 0.5374 GB, free: 22.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004926/0.3936, allocations: 110.3 kB / 0.5375 GB, free: 22.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.394, allocations: 387.3 kB / 0.5379 GB, free: 21.76 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.394, allocations: 0 / 0.5379 GB, free: 21.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04694/0.4409, allocations: 20.44 MB / 0.5579 GB, free: 1.559 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/0.4411, allocations: 245.8 kB / 0.5581 GB, free: 1.301 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/2.685, allocations: 0 / 0.5581 GB, free: 1.301 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches