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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002/0.002, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001969/0.00197, allocations: 205.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247 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.2141/0.2141, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 80.14 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3271, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008904/0.3361, allocations: 7.731 MB / 0.5382 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004476/0.3406, allocations: 2.43 MB / 0.5405 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005613/0.3411, allocations: 29.12 kB / 0.5406 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003952/0.3451, allocations: 1.815 MB / 0.5423 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.347, allocations: 0.7099 MB / 0.543 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.3494, allocations: 1.073 MB / 0.5441 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.3514, allocations: 1.409 MB / 0.5455 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.3533, allocations: 1.006 MB / 0.5464 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.3545, allocations: 0.6127 MB / 0.547 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.3557, allocations: 0.7246 MB / 0.5478 GB, free: 92 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.3559, allocations: 112 kB / 0.5479 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009095/0.3568, allocations: 339.7 kB / 0.5482 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.357, allocations: 294.8 kB / 0.5485 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007363/0.3578, allocations: 0.657 MB / 0.5491 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.3605, allocations: 1.769 MB / 0.5508 GB, free: 12.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3605, allocations: 0 / 0.5508 GB, free: 12.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3605, allocations: 0 / 0.5508 GB, free: 12.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.3605, allocations: 0 / 0.5508 GB, free: 12.93 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.007416/0.368, allocations: 2.425 MB / 0.5532 GB, free: 10.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.368, allocations: 8.031 kB / 0.5532 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002307/0.3683, allocations: 198.6 kB / 0.5534 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009924/0.3782, allocations: 1.339 MB / 0.5547 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.3793, allocations: 0.6171 MB / 0.5553 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.706e-05/0.3794, allocations: 99.02 kB / 0.5554 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.3796, allocations: 128.1 kB / 0.5555 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/0.3823, allocations: 1.502 MB / 0.557 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/0.3823, allocations: 3.953 kB / 0.557 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.3825, allocations: 56 kB / 0.557 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.3825, allocations: 32 kB / 0.5571 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.3853, allocations: 1.529 MB / 0.5586 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008125/0.3934, allocations: 5.6 MB / 0.564 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.3961, allocations: 2.186 MB / 0.5662 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.3972, allocations: 0.6545 MB / 0.5668 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.3974, allocations: 195.2 kB / 0.567 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.3975, allocations: 47.55 kB / 0.567 GB, free: 11.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.146e-06/0.3975, allocations: 0 / 0.567 GB, free: 11.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.0093/0.4068, allocations: 3.102 MB / 0.5701 GB, free: 8.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.4069, allocations: 90.11 kB / 0.5702 GB, free: 8.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/0.4074, allocations: 477.7 kB / 0.5706 GB, free: 7.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-05/0.4075, allocations: 49.73 kB / 0.5707 GB, free: 7.777 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.4079, allocations: 480.9 kB / 0.5711 GB, free: 7.301 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.4082, allocations: 440.2 kB / 0.5715 GB, free: 6.867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/0.4086, allocations: 218.8 kB / 0.5718 GB, free: 6.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4088, allocations: 382.8 kB / 0.5721 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008667/0.4097, allocations: 454.4 kB / 0.5725 GB, free: 5.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.4107, allocations: 0.6997 MB / 0.5732 GB, free: 5.031 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.4128, allocations: 1.202 MB / 0.5744 GB, free: 3.734 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.4128, allocations: 0 / 0.5744 GB, free: 3.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003074/0.4159, allocations: 1.613 MB / 0.576 GB, free: 2.113 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4159, allocations: 8 kB / 0.576 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.4159, allocations: 12.28 kB / 0.576 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.4175, allocations: 0.5162 MB / 0.5765 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007812/0.4183, allocations: 199.7 kB / 0.5767 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001999/0.4185, allocations: 61.14 kB / 0.5768 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.4192, allocations: 123.1 kB / 0.5769 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.409e-05/0.4193, allocations: 51.98 kB / 0.5769 GB, free: 1.145 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.0004434/0.4197, allocations: 269.5 kB / 0.5772 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.4199, allocations: 87.42 kB / 0.5773 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/0.4229, allocations: 1.571 MB / 0.5788 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.4229, allocations: 19.88 kB / 0.5788 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.4229, allocations: 0 / 0.5788 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.423, allocations: 7.969 kB / 0.5788 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004786/0.4277, allocations: 2.867 MB / 0.5816 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.4278, allocations: 0 / 0.5816 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006396/0.4284, allocations: 151.7 kB / 0.5818 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.4299, allocations: 0.5223 MB / 0.5823 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.952e-05/0.43, allocations: 27.98 kB / 0.5823 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003168/0.4303, allocations: 72.73 kB / 0.5824 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4303, allocations: 0 / 0.5824 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004146/0.4345, allocations: 2.341 MB / 0.5847 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.4349, allocations: 284.2 kB / 0.5849 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.435, allocations: 27.94 kB / 0.585 GB, free: 8.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.4356, allocations: 43.97 kB / 0.585 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.4358, allocations: 77.2 kB / 0.5851 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/0.4359, allocations: 35.98 kB / 0.5851 GB, free: 8.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003783/0.4363, allocations: 318.9 kB / 0.5854 GB, free: 8.312 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4363, allocations: 0 / 0.5854 GB, free: 8.312 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009186/0.4372, allocations: 343.2 kB / 0.5857 GB, free: 7.977 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.004581/0.4418, allocations: 2.954 MB / 0.5886 GB, free: 4.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002987/0.4448, allocations: 1.362 MB / 0.59 GB, free: 3.633 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4448, allocations: 4 kB / 0.59 GB, free: 3.629 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.4466, allocations: 0.7749 MB / 0.5907 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.4473, allocations: 105.8 kB / 0.5908 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/0.4604, allocations: 8.433 MB / 0.5991 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/0.4611, allocations: 1.044 MB / 0.6001 GB, free: 8.949 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000436/0.4616, allocations: 106.8 kB / 0.6002 GB, free: 8.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/0.4621, allocations: 391.3 kB / 0.6005 GB, free: 8.457 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4621, allocations: 0 / 0.6005 GB, free: 8.457 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07576/0.5379, allocations: 21.69 MB / 0.6217 GB, free: 2.977 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.63, allocations: 16.75 kB / 0.6217 GB, free: 2.965 MB / 478.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > 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