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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001269, allocations: 114.8 kB / 18.41 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 208.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 71.89 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1205, allocations: 62.45 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008426/0.1289, allocations: 7.739 MB / 489.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004721/0.1337, allocations: 2.412 MB / 491.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008576/0.1346, allocations: 24 kB / 491.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004035/0.1387, allocations: 1.816 MB / 493.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.141, allocations: 0.7028 MB / 494.2 MB, free: 7.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.1433, allocations: 1.077 MB / 495.2 MB, free: 6.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.1455, allocations: 1.413 MB / 496.6 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.1472, allocations: 1.005 MB / 497.7 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009857/0.1482, allocations: 0.6072 MB / 498.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009294/0.1491, allocations: 0.7276 MB / 499 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.1493, allocations: 115.9 kB / 499.1 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000767/0.1501, allocations: 343.8 kB / 499.4 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.1503, allocations: 287 kB / 499.7 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006202/0.1509, allocations: 0.6608 MB / 0.4886 GB, free: 1.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.1529, allocations: 1.752 MB / 0.4904 GB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.153, allocations: 0 / 0.4904 GB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.153, allocations: 7.938 kB / 0.4904 GB, free: 15.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.299e-05/0.153, allocations: 0 / 0.4904 GB, free: 15.75 MB / 382.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.007539/0.1606, allocations: 2.377 MB / 0.4927 GB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1606, allocations: 16.03 kB / 0.4927 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009754/0.1704, allocations: 1.389 MB / 0.4941 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.1724, allocations: 0.6129 MB / 0.4947 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.1726, allocations: 99.02 kB / 0.4948 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.1729, allocations: 128.4 kB / 0.4949 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/0.1758, allocations: 1.49 MB / 0.4963 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.1758, allocations: 3.906 kB / 0.4963 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.176, allocations: 52 kB / 0.4964 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.994e-05/0.176, allocations: 39.98 kB / 0.4964 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.1788, allocations: 1.501 MB / 0.4979 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007948/0.1868, allocations: 5.595 MB / 0.5034 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2017/0.3885, allocations: 2.171 MB / 0.5055 GB, free: 39.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.3898, allocations: 0.6467 MB / 0.5061 GB, free: 39.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.39, allocations: 195.4 kB / 0.5063 GB, free: 39.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.39, allocations: 43.2 kB / 0.5063 GB, free: 39.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.095e-06/0.39, allocations: 1.312 kB / 0.5063 GB, free: 39.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008532/0.3986, allocations: 3.095 MB / 0.5094 GB, free: 39.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.3986, allocations: 91.33 kB / 0.5094 GB, free: 39.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.3991, allocations: 464 kB / 0.5099 GB, free: 38.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.408e-05/0.3992, allocations: 49.7 kB / 0.5099 GB, free: 38.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.3994, allocations: 465.2 kB / 0.5104 GB, free: 38.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.3996, allocations: 418.8 kB / 0.5108 GB, free: 38.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/0.4, allocations: 215.6 kB / 0.511 GB, free: 38.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4001, allocations: 385.6 kB / 0.5113 GB, free: 37.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007875/0.4009, allocations: 455.2 kB / 0.5118 GB, free: 37.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008821/0.4018, allocations: 0.6972 MB / 0.5125 GB, free: 37.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.4034, allocations: 1.197 MB / 0.5136 GB, free: 36.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.4034, allocations: 6.312 kB / 0.5136 GB, free: 36.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002565/0.406, allocations: 1.593 MB / 0.5152 GB, free: 35.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.406, allocations: 9.594 kB / 0.5152 GB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.4061, allocations: 10.56 kB / 0.5152 GB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.4076, allocations: 0.521 MB / 0.5157 GB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.4083, allocations: 205.5 kB / 0.5159 GB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001742/0.4085, allocations: 47.31 kB / 0.516 GB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006114/0.4091, allocations: 120.1 kB / 0.5161 GB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.688e-05/0.4092, allocations: 52.17 kB / 0.5161 GB, free: 35.33 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.0003729/0.4096, allocations: 275.7 kB / 0.5164 GB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.4098, allocations: 82.3 kB / 0.5165 GB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/0.4125, allocations: 1.567 MB / 0.518 GB, free: 34.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.4125, allocations: 13.62 kB / 0.518 GB, free: 34.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.4125, allocations: 5.406 kB / 0.518 GB, free: 34.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.4125, allocations: 14.08 kB / 0.518 GB, free: 34.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004135/0.4167, allocations: 2.853 MB / 0.5208 GB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4167, allocations: 6.594 kB / 0.5208 GB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/0.4173, allocations: 140.5 kB / 0.521 GB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.4186, allocations: 0.5177 MB / 0.5215 GB, free: 32.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-05/0.4187, allocations: 29.92 kB / 0.5215 GB, free: 32.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000269/0.419, allocations: 62.02 kB / 0.5216 GB, free: 32.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.419, allocations: 5.656 kB / 0.5216 GB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/0.4224, allocations: 2.335 MB / 0.5238 GB, free: 31.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/0.4228, allocations: 282.5 kB / 0.5241 GB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.4229, allocations: 22.17 kB / 0.5241 GB, free: 31.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/0.4235, allocations: 56.31 kB / 0.5242 GB, free: 31.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.4237, allocations: 75.3 kB / 0.5243 GB, free: 31.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-05/0.4237, allocations: 35.02 kB / 0.5243 GB, free: 31.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003228/0.4241, allocations: 309.6 kB / 0.5246 GB, free: 31.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4241, allocations: 3.094 kB / 0.5246 GB, free: 31.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008836/0.425, allocations: 344.3 kB / 0.5249 GB, free: 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.0002466/0.4252, allocations: 167.7 kB / 0.5251 GB, free: 30.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002477/0.4277, allocations: 1.366 MB / 0.5264 GB, free: 30.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4277, allocations: 0.9688 kB / 0.5264 GB, free: 30.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.4293, allocations: 0.7622 MB / 0.5272 GB, free: 30.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006649/0.4299, allocations: 98.61 kB / 0.5272 GB, free: 30.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.4328, allocations: 2.051 MB / 0.5292 GB, free: 29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.4332, allocations: 1.044 MB / 0.5303 GB, free: 28.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003766/0.4336, allocations: 105.7 kB / 0.5304 GB, free: 28.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.4338, allocations: 62.83 kB / 0.5304 GB, free: 28.23 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4338, allocations: 4 kB / 0.5304 GB, free: 28.23 MB / 382.1 MB Notification: Performance of Templates: time 0.01643/0.4502, allocations: 13.84 MB / 0.5439 GB, free: 16.86 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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