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.001224/0.001224, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.03/2.03, allocations: 227.4 MB / 246.9 MB, free: 8.879 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3724/0.3724, allocations: 46.11 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002999/0.003, allocations: 80.61 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1811, allocations: 62.44 MB / 479.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01565/0.1968, allocations: 7.692 MB / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007698/0.2046, allocations: 2.404 MB / 490 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.206, allocations: 24 kB / 490.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006617/0.2127, allocations: 1.7 MB / 491.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004248/0.217, allocations: 0.6373 MB / 492.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004596/0.2216, allocations: 1.031 MB / 493.4 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00364/0.2253, allocations: 1.339 MB / 494.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002978/0.2283, allocations: 0.9055 MB / 495.7 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.2297, allocations: 0.572 MB / 496.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.2311, allocations: 0.708 MB / 496.9 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002603/0.2314, allocations: 84 kB / 497 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.2327, allocations: 303.8 kB / 497.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.2331, allocations: 262.9 kB / 497.6 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009342/0.234, allocations: 0.6296 MB / 498.2 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.2366, allocations: 1.336 MB / 499.5 MB, free: 1.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.2366, allocations: 3.984 kB / 499.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2366, allocations: 0 / 499.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.89e-05/0.2367, allocations: 0 / 499.6 MB, free: 1.98 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.01427/0.2509, allocations: 2.376 MB / 0.4902 GB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.251, allocations: 12.88 kB / 0.4902 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01937/0.2704, allocations: 1.393 MB / 0.4915 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.2724, allocations: 0.605 MB / 0.4921 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.2726, allocations: 99.02 kB / 0.4922 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003806/0.273, allocations: 128.4 kB / 0.4923 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004614/0.2776, allocations: 1.487 MB / 0.4938 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.994e-05/0.2777, allocations: 7.844 kB / 0.4938 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.2779, allocations: 52 kB / 0.4939 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.417e-05/0.278, allocations: 36 kB / 0.4939 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005233/0.2832, allocations: 1.505 MB / 0.4954 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01528/0.2986, allocations: 5.626 MB / 0.5009 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004815/0.3034, allocations: 2.182 MB / 0.503 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.3054, allocations: 0.6515 MB / 0.5036 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003014/0.3058, allocations: 191.2 kB / 0.5038 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/0.3058, allocations: 47.56 kB / 0.5038 GB, free: 0.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 6.793e-06/0.3058, allocations: 0 / 0.5038 GB, free: 0.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.3379/0.6438, allocations: 3.089 MB / 0.5069 GB, free: 40.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.6439, allocations: 95.31 kB / 0.507 GB, free: 39.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.6452, allocations: 465 kB / 0.5074 GB, free: 39.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002229/0.6454, allocations: 44.52 kB / 0.5074 GB, free: 39.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004835/0.6459, allocations: 463.2 kB / 0.5079 GB, free: 39.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006049/0.6466, allocations: 430.2 kB / 0.5083 GB, free: 39.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007293/0.6473, allocations: 215.5 kB / 0.5085 GB, free: 39.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.6475, allocations: 383.6 kB / 0.5089 GB, free: 38.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.6493, allocations: 466.1 kB / 0.5093 GB, free: 38.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/0.6512, allocations: 0.688 MB / 0.51 GB, free: 38.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003362/0.6546, allocations: 1.203 MB / 0.5112 GB, free: 37.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/0.6546, allocations: 2.094 kB / 0.5112 GB, free: 37.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.005652/0.6603, allocations: 1.587 MB / 0.5127 GB, free: 36.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.6604, allocations: 7.969 kB / 0.5127 GB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.181e-05/0.6604, allocations: 8.219 kB / 0.5127 GB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/0.6634, allocations: 0.5241 MB / 0.5132 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.665, allocations: 201 kB / 0.5134 GB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003339/0.6653, allocations: 54.58 kB / 0.5135 GB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.6667, allocations: 120.3 kB / 0.5136 GB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.6669, allocations: 55.69 kB / 0.5136 GB, free: 36.63 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.0007441/0.6676, allocations: 268.7 kB / 0.5139 GB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/0.668, allocations: 81.8 kB / 0.514 GB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005484/0.6735, allocations: 1.574 MB / 0.5155 GB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/0.6735, allocations: 12.38 kB / 0.5155 GB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/0.6736, allocations: 1.938 kB / 0.5155 GB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/0.6736, allocations: 6.422 kB / 0.5155 GB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008791/0.6824, allocations: 2.871 MB / 0.5183 GB, free: 34.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.6825, allocations: 5.188 kB / 0.5183 GB, free: 34.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.6837, allocations: 140.5 kB / 0.5185 GB, free: 34.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002778/0.6865, allocations: 0.5197 MB / 0.519 GB, free: 34.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/0.6867, allocations: 24.98 kB / 0.519 GB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005509/0.6873, allocations: 65.05 kB / 0.5191 GB, free: 34.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.6873, allocations: 1.828 kB / 0.5191 GB, free: 34.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007663/0.695, allocations: 2.331 MB / 0.5213 GB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009157/0.6959, allocations: 284.2 kB / 0.5216 GB, free: 32.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.6962, allocations: 21.67 kB / 0.5216 GB, free: 32.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.6974, allocations: 51.73 kB / 0.5217 GB, free: 32.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/0.6977, allocations: 78.27 kB / 0.5218 GB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.6979, allocations: 40.72 kB / 0.5218 GB, free: 32.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006481/0.6986, allocations: 309.3 kB / 0.5221 GB, free: 32.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.072e-06/0.6986, allocations: 0 / 0.5221 GB, free: 32.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001781/0.7004, allocations: 348 kB / 0.5224 GB, free: 32.3 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.0004841/0.7009, allocations: 166.5 kB / 0.5226 GB, free: 32.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005451/0.7063, allocations: 1.36 MB / 0.5239 GB, free: 31.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.7064, allocations: 0.6562 kB / 0.5239 GB, free: 31.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003271/0.7097, allocations: 0.7675 MB / 0.5247 GB, free: 31.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.7112, allocations: 102.8 kB / 0.5248 GB, free: 31.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00629/0.7175, allocations: 2.627 MB / 0.5273 GB, free: 29.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/0.7182, allocations: 1.039 MB / 0.5283 GB, free: 29.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/0.7188, allocations: 72.14 kB / 0.5284 GB, free: 29 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.7188, allocations: 1.406 kB / 0.5284 GB, free: 29 MB / 382.1 MB Notification: Performance of Templates: time 0.03161/0.7504, allocations: 16.42 MB / 0.5444 GB, free: 15.95 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 -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