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.001168/0.001168, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2379/0.2379, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 71.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4704/0.4718, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01865/0.4905, allocations: 7.74 MB / 0.5392 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008241/0.4989, allocations: 2.418 MB / 0.5416 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.5014, allocations: 25.38 kB / 0.5416 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006009/0.5075, allocations: 1.807 MB / 0.5434 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004114/0.5116, allocations: 0.7193 MB / 0.5441 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003106/0.5147, allocations: 1.076 MB / 0.5451 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003055/0.5178, allocations: 1.415 MB / 0.5465 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002285/0.5201, allocations: 0.9977 MB / 0.5475 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.5215, allocations: 0.6078 MB / 0.5481 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.5228, allocations: 0.7314 MB / 0.5488 GB, free: 132 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003761/0.5232, allocations: 112 kB / 0.5489 GB, free: 20 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.5245, allocations: 339.8 kB / 0.5492 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004267/0.525, allocations: 294.9 kB / 0.5495 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.5262, allocations: 0.6569 MB / 0.5501 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003324/0.5296, allocations: 1.765 MB / 0.5519 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5296, allocations: 0 / 0.5519 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5296, allocations: 0 / 0.5519 GB, free: 12.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.443e-05/0.5297, allocations: 0 / 0.5519 GB, free: 12.97 MB / 414.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.008321/0.538, allocations: 2.377 MB / 0.5542 GB, free: 10.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5381, allocations: 8.031 kB / 0.5542 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009824/0.5479, allocations: 1.393 MB / 0.5555 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.5496, allocations: 0.6129 MB / 0.5561 GB, free: 8.484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.5497, allocations: 95.02 kB / 0.5562 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004812/0.5502, allocations: 128.4 kB / 0.5564 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.5538, allocations: 1.487 MB / 0.5578 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.599e-05/0.5539, allocations: 11.84 kB / 0.5578 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.5541, allocations: 56 kB / 0.5579 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.395e-05/0.5541, allocations: 39.92 kB / 0.5579 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.5571, allocations: 1.505 MB / 0.5594 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008961/0.5661, allocations: 5.587 MB / 0.5648 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.5686, allocations: 2.182 MB / 0.567 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.5697, allocations: 0.6583 MB / 0.5676 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.57, allocations: 183.2 kB / 0.5678 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.57, allocations: 51.48 kB / 0.5678 GB, free: 11.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.858e-06/0.57, allocations: 0 / 0.5678 GB, free: 11.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.00871/0.5787, allocations: 3.094 MB / 0.5709 GB, free: 8.715 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.5788, allocations: 94.11 kB / 0.5709 GB, free: 8.605 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000612/0.5795, allocations: 461.9 kB / 0.5714 GB, free: 8.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.5796, allocations: 49.73 kB / 0.5714 GB, free: 8.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.5799, allocations: 467.5 kB / 0.5719 GB, free: 7.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.5802, allocations: 421.8 kB / 0.5723 GB, free: 7.207 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/0.5806, allocations: 214.8 kB / 0.5725 GB, free: 6.992 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5808, allocations: 386.7 kB / 0.5729 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008291/0.5816, allocations: 458.4 kB / 0.5733 GB, free: 6.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009794/0.5826, allocations: 0.6918 MB / 0.574 GB, free: 5.375 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.5845, allocations: 1.198 MB / 0.5751 GB, free: 4.078 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.5845, allocations: 4 kB / 0.5751 GB, free: 4.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00294/0.5875, allocations: 1.59 MB / 0.5767 GB, free: 2.477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.5875, allocations: 8 kB / 0.5767 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.5875, allocations: 4.281 kB / 0.5767 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.5891, allocations: 0.5317 MB / 0.5772 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007721/0.5899, allocations: 203.7 kB / 0.5774 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001935/0.5901, allocations: 49.25 kB / 0.5775 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007286/0.5909, allocations: 130.6 kB / 0.5776 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.591, allocations: 48 kB / 0.5776 GB, free: 1.504 MB / 430.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.0004992/0.5915, allocations: 273.5 kB / 0.5779 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.5917, allocations: 79.06 kB / 0.578 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002836/0.5945, allocations: 1.56 MB / 0.5795 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.5946, allocations: 19.94 kB / 0.5795 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.5946, allocations: 3.984 kB / 0.5795 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.5946, allocations: 7.984 kB / 0.5795 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/0.5993, allocations: 2.851 MB / 0.5823 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.5994, allocations: 0 / 0.5823 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.6, allocations: 147.8 kB / 0.5825 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.6015, allocations: 0.5145 MB / 0.583 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.954e-05/0.6016, allocations: 28 kB / 0.583 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002798/0.6018, allocations: 72.66 kB / 0.583 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6019, allocations: 4 kB / 0.5831 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003906/0.6058, allocations: 2.333 MB / 0.5853 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005227/0.6063, allocations: 291.6 kB / 0.5856 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.6065, allocations: 23.94 kB / 0.5856 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006417/0.6071, allocations: 48.05 kB / 0.5857 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.6073, allocations: 73.2 kB / 0.5857 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.212e-05/0.6074, allocations: 35.98 kB / 0.5858 GB, free: 9.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000427/0.6079, allocations: 310.9 kB / 0.5861 GB, free: 8.719 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6079, allocations: 0 / 0.5861 GB, free: 8.719 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001077/0.6089, allocations: 347.1 kB / 0.5864 GB, free: 8.379 MB / 446.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.0003513/0.6093, allocations: 163.1 kB / 0.5866 GB, free: 8.211 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002975/0.6123, allocations: 1.363 MB / 0.5879 GB, free: 6.852 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.6123, allocations: 11.88 kB / 0.5879 GB, free: 6.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001685/0.614, allocations: 0.7701 MB / 0.5887 GB, free: 6.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008137/0.6148, allocations: 100.2 kB / 0.5888 GB, free: 5.973 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.619, allocations: 2.089 MB / 0.5908 GB, free: 3.852 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/0.6197, allocations: 1.044 MB / 0.5918 GB, free: 2.781 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.62, allocations: 71.42 kB / 0.5919 GB, free: 2.711 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.62, allocations: 4 kB / 0.5919 GB, free: 2.707 MB / 446.1 MB Notification: Performance of Templates: time 0.02426/0.6443, allocations: 16.51 MB / 0.608 GB, free: 2.176 MB / 462.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