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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 210.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.93 MB / 361.6 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 79.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3124, allocations: 66.07 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009045/0.3214, allocations: 7.819 MB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004327/0.3257, allocations: 2.439 MB / 0.5715 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004934/0.3262, allocations: 31.88 kB / 0.5715 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003871/0.3301, allocations: 1.823 MB / 0.5733 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.332, allocations: 0.7175 MB / 0.574 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.3343, allocations: 1.075 MB / 0.5751 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.336, allocations: 1.417 MB / 0.5765 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.3375, allocations: 0.9378 MB / 0.5774 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008757/0.3383, allocations: 0.6189 MB / 0.578 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009195/0.3392, allocations: 0.7353 MB / 0.5787 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.3394, allocations: 116 kB / 0.5788 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007297/0.3402, allocations: 331.8 kB / 0.5791 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.3404, allocations: 294.9 kB / 0.5794 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006037/0.341, allocations: 0.6491 MB / 0.58 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.343, allocations: 1.778 MB / 0.5818 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.343, allocations: 4 kB / 0.5818 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.343, allocations: 3.938 kB / 0.5818 GB, free: 15.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.3431, allocations: 0 / 0.5818 GB, free: 15.42 MB / 430.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.007286/0.3503, allocations: 2.342 MB / 0.5841 GB, free: 13.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3504, allocations: 8.031 kB / 0.5841 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.998e-05/0.3504, allocations: 34.83 kB / 0.5841 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002296/0.3507, allocations: 194.7 kB / 0.5843 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009345/0.36, allocations: 1.339 MB / 0.5856 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.3613, allocations: 0.5606 MB / 0.5861 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.3614, allocations: 99.02 kB / 0.5862 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.3617, allocations: 131.9 kB / 0.5864 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.3647, allocations: 1.487 MB / 0.5878 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.788e-05/0.3647, allocations: 15.88 kB / 0.5878 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.3649, allocations: 52 kB / 0.5879 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/0.3649, allocations: 36 kB / 0.5879 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/0.3677, allocations: 1.513 MB / 0.5894 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00843/0.3762, allocations: 5.057 MB / 0.5943 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.3783, allocations: 1.076 MB / 0.5954 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009926/0.3792, allocations: 0.546 MB / 0.5959 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.3794, allocations: 44.95 kB / 0.596 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.3794, allocations: 51.56 kB / 0.596 GB, free: 0.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 2.905e-06/0.3794, allocations: 0 / 0.596 GB, free: 0.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.00921/0.3886, allocations: 3.006 MB / 0.5989 GB, free: 13.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.3887, allocations: 90.11 kB / 0.599 GB, free: 13.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006115/0.3893, allocations: 465.9 kB / 0.5995 GB, free: 12.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/0.3894, allocations: 45.7 kB / 0.5995 GB, free: 12.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.3897, allocations: 476.9 kB / 0.6 GB, free: 12.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00037/0.3901, allocations: 444.1 kB / 0.6004 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003719/0.3905, allocations: 226.9 kB / 0.6006 GB, free: 11.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3907, allocations: 378.8 kB / 0.601 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008657/0.3915, allocations: 454.4 kB / 0.6014 GB, free: 10.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.3926, allocations: 0.6997 MB / 0.6021 GB, free: 10.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.3946, allocations: 1.213 MB / 0.6033 GB, free: 8.801 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3946, allocations: 0 / 0.6033 GB, free: 8.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00304/0.3977, allocations: 1.578 MB / 0.6048 GB, free: 7.211 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.3977, allocations: 8 kB / 0.6048 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/0.3977, allocations: 8 kB / 0.6048 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.3993, allocations: 0.5282 MB / 0.6054 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008019/0.4001, allocations: 199.6 kB / 0.6055 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002127/0.4003, allocations: 61.14 kB / 0.6056 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007747/0.4011, allocations: 119.1 kB / 0.6057 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.4012, allocations: 51.98 kB / 0.6058 GB, free: 6.238 MB / 446.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.0005288/0.4017, allocations: 266.6 kB / 0.606 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.4019, allocations: 83.48 kB / 0.6061 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.4049, allocations: 1.548 MB / 0.6076 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.4049, allocations: 12 kB / 0.6076 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.405, allocations: 7.938 kB / 0.6076 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.405, allocations: 11.97 kB / 0.6076 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004776/0.4097, allocations: 2.816 MB / 0.6104 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4098, allocations: 0 / 0.6104 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006465/0.4104, allocations: 147.8 kB / 0.6105 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.4119, allocations: 0.5223 MB / 0.611 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-05/0.4119, allocations: 27.94 kB / 0.6111 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003107/0.4123, allocations: 64.8 kB / 0.6111 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4123, allocations: 0 / 0.6111 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004152/0.4164, allocations: 2.325 MB / 0.6134 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/0.4169, allocations: 203.1 kB / 0.6136 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.417, allocations: 27.94 kB / 0.6136 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/0.4177, allocations: 48.03 kB / 0.6137 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.4179, allocations: 81.16 kB / 0.6137 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.64e-05/0.418, allocations: 35.98 kB / 0.6138 GB, free: 13.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004247/0.4184, allocations: 310.9 kB / 0.6141 GB, free: 13.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4184, allocations: 0 / 0.6141 GB, free: 13.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001163/0.4196, allocations: 351.2 kB / 0.6144 GB, free: 13.27 MB / 462.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.004804/0.4244, allocations: 2.924 MB / 0.6173 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.4274, allocations: 1.273 MB / 0.6185 GB, free: 9.047 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.4274, allocations: 4.062 kB / 0.6185 GB, free: 9.043 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.4292, allocations: 0.684 MB / 0.6192 GB, free: 8.355 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007462/0.4299, allocations: 102.2 kB / 0.6193 GB, free: 8.262 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.4436, allocations: 8.396 MB / 0.6275 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007681/0.4444, allocations: 1.044 MB / 0.6285 GB, free: 14.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004444/0.4448, allocations: 106.8 kB / 0.6286 GB, free: 14.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/0.4453, allocations: 391.3 kB / 0.629 GB, free: 14.02 MB / 478.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4453, allocations: 0 / 0.629 GB, free: 14.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05709/0.5024, allocations: 23.3 MB / 0.6517 GB, free: 6.875 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/13.96, allocations: 7.188 kB / 0.6517 GB, free: 6.871 MB / 494.1 MB " [Timeout remaining time 646] (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 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.495781795005314]