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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001659/0.001659, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 106.1 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3708/0.3708, allocations: 44.82 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3441, allocations: 62.01 MB / 0.5151 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007057/0.3513, allocations: 7.685 MB / 0.5227 GB, free: 32.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00417/0.3555, allocations: 2.403 MB / 0.525 GB, free: 30.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008482/0.3564, allocations: 35.53 kB / 0.525 GB, free: 30.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003577/0.36, allocations: 1.695 MB / 0.5267 GB, free: 29.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.3623, allocations: 0.6432 MB / 0.5273 GB, free: 29.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.3643, allocations: 1.028 MB / 0.5283 GB, free: 28.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.3659, allocations: 1.362 MB / 0.5297 GB, free: 27.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.3671, allocations: 0.899 MB / 0.5305 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/0.3677, allocations: 0.578 MB / 0.5311 GB, free: 27.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.3683, allocations: 0.7079 MB / 0.5318 GB, free: 26.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.3684, allocations: 81.75 kB / 0.5319 GB, free: 26.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007193/0.3691, allocations: 307.5 kB / 0.5322 GB, free: 26.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.3693, allocations: 262.3 kB / 0.5324 GB, free: 26.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004337/0.3698, allocations: 0.6298 MB / 0.533 GB, free: 26.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.3711, allocations: 1.697 MB / 0.5347 GB, free: 25.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3711, allocations: 0 / 0.5347 GB, free: 25.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3712, allocations: 0 / 0.5347 GB, free: 25.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.3712, allocations: 0 / 0.5347 GB, free: 25.37 MB / 378.7 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.006544/0.3777, allocations: 2.38 MB / 0.537 GB, free: 24.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3778, allocations: 10.12 kB / 0.537 GB, free: 24.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008992/0.3868, allocations: 1.386 MB / 0.5384 GB, free: 23.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.3883, allocations: 0.6071 MB / 0.539 GB, free: 23.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.823e-05/0.3884, allocations: 101 kB / 0.5391 GB, free: 23.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.3886, allocations: 128.5 kB / 0.5392 GB, free: 23.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.3914, allocations: 1.489 MB / 0.5406 GB, free: 22.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/0.3915, allocations: 5.594 kB / 0.5406 GB, free: 22.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.3916, allocations: 57.77 kB / 0.5407 GB, free: 22.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.3917, allocations: 32.25 kB / 0.5407 GB, free: 22.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/0.3943, allocations: 1.515 MB / 0.5422 GB, free: 22.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008163/0.4025, allocations: 5.612 MB / 0.5477 GB, free: 18.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.4047, allocations: 2.186 MB / 0.5498 GB, free: 16.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009879/0.4057, allocations: 0.6466 MB / 0.5504 GB, free: 16.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.4059, allocations: 180.6 kB / 0.5506 GB, free: 16.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.4059, allocations: 54.06 kB / 0.5507 GB, free: 16.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.166e-06/0.4059, allocations: 0 / 0.5507 GB, free: 16.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.009079/0.415, allocations: 3.099 MB / 0.5537 GB, free: 14.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.4151, allocations: 98.3 kB / 0.5538 GB, free: 14.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005402/0.4156, allocations: 464.4 kB / 0.5542 GB, free: 14.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/0.4157, allocations: 50.31 kB / 0.5543 GB, free: 14.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.4159, allocations: 464.8 kB / 0.5547 GB, free: 13.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.4161, allocations: 418.6 kB / 0.5551 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/0.4165, allocations: 213.4 kB / 0.5553 GB, free: 13.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.4166, allocations: 386.8 kB / 0.5557 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007634/0.4173, allocations: 458.9 kB / 0.5561 GB, free: 12.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009875/0.4183, allocations: 0.6951 MB / 0.5568 GB, free: 12.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.4204, allocations: 1.196 MB / 0.558 GB, free: 11.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.4204, allocations: 2.531 kB / 0.558 GB, free: 11.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00313/0.4235, allocations: 1.593 MB / 0.5595 GB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.4236, allocations: 11.88 kB / 0.5596 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.4236, allocations: 7.031 kB / 0.5596 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/0.4253, allocations: 0.5314 MB / 0.5601 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008216/0.4261, allocations: 191.3 kB / 0.5603 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002156/0.4263, allocations: 56.45 kB / 0.5603 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.4271, allocations: 134.6 kB / 0.5604 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.4272, allocations: 47.98 kB / 0.5605 GB, free: 10.11 MB / 378.7 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.0004568/0.4277, allocations: 270.4 kB / 0.5607 GB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.4278, allocations: 79.06 kB / 0.5608 GB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.4302, allocations: 1.564 MB / 0.5623 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.4302, allocations: 15.94 kB / 0.5624 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4302, allocations: 4 kB / 0.5624 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.4302, allocations: 11.95 kB / 0.5624 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/0.4339, allocations: 2.882 MB / 0.5652 GB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.434, allocations: 0 / 0.5652 GB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/0.4346, allocations: 139.8 kB / 0.5653 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.4358, allocations: 0.5223 MB / 0.5658 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.4359, allocations: 24 kB / 0.5659 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002886/0.4362, allocations: 68.72 kB / 0.5659 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4362, allocations: 4 kB / 0.5659 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004891/0.4411, allocations: 4.105 MB / 0.5699 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.4416, allocations: 291.7 kB / 0.5702 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.792e-05/0.4417, allocations: 20 kB / 0.5702 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006459/0.4423, allocations: 47.97 kB / 0.5703 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.4425, allocations: 77.3 kB / 0.5704 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.296e-05/0.4426, allocations: 36 kB / 0.5704 GB, free: 15.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003703/0.443, allocations: 310.9 kB / 0.5707 GB, free: 15.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.613e-06/0.443, allocations: 0 / 0.5707 GB, free: 15.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001164/0.4441, allocations: 386.7 kB / 0.5711 GB, free: 15.03 MB / 394.7 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.0002909/0.4444, allocations: 157.5 kB / 0.5712 GB, free: 14.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002819/0.4473, allocations: 1.359 MB / 0.5725 GB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.4473, allocations: 8.062 kB / 0.5725 GB, free: 13.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.4489, allocations: 0.766 MB / 0.5733 GB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007996/0.4497, allocations: 104.7 kB / 0.5734 GB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/0.4544, allocations: 3.18 MB / 0.5765 GB, free: 9.418 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.455, allocations: 1.071 MB / 0.5775 GB, free: 8.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005529/0.4556, allocations: 114.8 kB / 0.5776 GB, free: 8.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.4558, allocations: 59.42 kB / 0.5777 GB, free: 8.145 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4558, allocations: 3.938 kB / 0.5777 GB, free: 8.141 MB / 394.7 MB Notification: Performance of Templates: time 0.02175/0.4776, allocations: 13.71 MB / 0.5911 GB, free: 10.5 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches