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.001716/0.001716, allocations: 114 kB / 20.43 MB, free: 1.457 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.001728/0.001728, allocations: 215.9 kB / 23.74 MB, free: 4.672 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.574/1.574, allocations: 230.5 MB / 257.4 MB, free: 8 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.2362/0.2362, allocations: 46.93 MB / 360.8 MB, free: 4.156 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 79.86 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3511, allocations: 66.09 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01014/0.3612, allocations: 7.805 MB / 0.5684 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005119/0.3663, allocations: 2.45 MB / 0.5707 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.3676, allocations: 31.94 kB / 0.5708 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004696/0.3723, allocations: 1.815 MB / 0.5726 GB, free: 8.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003081/0.3754, allocations: 0.7161 MB / 0.5733 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.3783, allocations: 1.082 MB / 0.5743 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002808/0.3811, allocations: 1.417 MB / 0.5757 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/0.3831, allocations: 0.934 MB / 0.5766 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.3845, allocations: 0.6228 MB / 0.5772 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.386, allocations: 0.7354 MB / 0.5779 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004906/0.3865, allocations: 112 kB / 0.578 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.3879, allocations: 331.8 kB / 0.5784 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004607/0.3884, allocations: 294.9 kB / 0.5786 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.3895, allocations: 0.6608 MB / 0.5793 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.3927, allocations: 1.766 MB / 0.581 GB, free: 15.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3927, allocations: 4 kB / 0.581 GB, free: 15.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3927, allocations: 3.938 kB / 0.581 GB, free: 15.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.525e-05/0.3927, allocations: 3.938 kB / 0.581 GB, free: 15.43 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.00869/0.4014, allocations: 2.338 MB / 0.5833 GB, free: 13.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.4015, allocations: 8.031 kB / 0.5833 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00044/0.4019, allocations: 198.7 kB / 0.5835 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/0.4119, allocations: 1.331 MB / 0.5848 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.4135, allocations: 0.5606 MB / 0.5853 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.4136, allocations: 99.02 kB / 0.5854 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003987/0.414, allocations: 132.1 kB / 0.5856 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/0.4173, allocations: 1.491 MB / 0.587 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.273e-05/0.4174, allocations: 7.953 kB / 0.587 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.4175, allocations: 56 kB / 0.5871 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/0.4175, allocations: 35.98 kB / 0.5871 GB, free: 9.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.4205, allocations: 1.525 MB / 0.5886 GB, free: 7.527 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009569/0.4301, allocations: 5.042 MB / 0.5935 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.4323, allocations: 1.084 MB / 0.5946 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.4333, allocations: 0.5538 MB / 0.5951 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.4334, allocations: 44.95 kB / 0.5952 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.4335, allocations: 43.56 kB / 0.5952 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.106e-06/0.4335, allocations: 0 / 0.5952 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009229/0.4427, allocations: 2.998 MB / 0.5981 GB, free: 13.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.4428, allocations: 90.11 kB / 0.5982 GB, free: 13.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007871/0.4436, allocations: 465.9 kB / 0.5987 GB, free: 12.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.4437, allocations: 49.69 kB / 0.5987 GB, free: 12.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.4441, allocations: 477 kB / 0.5992 GB, free: 12.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/0.4445, allocations: 456.1 kB / 0.5996 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003739/0.4449, allocations: 218.8 kB / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.4451, allocations: 382.8 kB / 0.6002 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008949/0.446, allocations: 454.4 kB / 0.6006 GB, free: 10.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.4472, allocations: 0.6958 MB / 0.6013 GB, free: 10.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/0.4494, allocations: 1.206 MB / 0.6025 GB, free: 8.855 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.4494, allocations: 4 kB / 0.6025 GB, free: 8.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003688/0.4531, allocations: 1.578 MB / 0.604 GB, free: 7.262 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.4532, allocations: 8 kB / 0.604 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.4532, allocations: 4.281 kB / 0.604 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.4548, allocations: 0.5317 MB / 0.6045 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008382/0.4556, allocations: 199.7 kB / 0.6047 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002275/0.4559, allocations: 57.14 kB / 0.6048 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/0.4568, allocations: 123.1 kB / 0.6049 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.4569, allocations: 51.92 kB / 0.605 GB, free: 6.289 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.0005825/0.4575, allocations: 269.6 kB / 0.6052 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.4577, allocations: 87.48 kB / 0.6053 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.4608, allocations: 1.54 MB / 0.6068 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/0.4608, allocations: 19.94 kB / 0.6068 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.4608, allocations: 0 / 0.6068 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.4608, allocations: 7.922 kB / 0.6068 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005265/0.4661, allocations: 2.823 MB / 0.6096 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.4661, allocations: 0 / 0.6096 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/0.4667, allocations: 143.8 kB / 0.6097 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.4683, allocations: 0.5145 MB / 0.6102 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.602e-05/0.4683, allocations: 27.98 kB / 0.6103 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003139/0.4687, allocations: 72.67 kB / 0.6103 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4687, allocations: 4 kB / 0.6103 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004268/0.4729, allocations: 2.314 MB / 0.6126 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005057/0.4734, allocations: 215.1 kB / 0.6128 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.4736, allocations: 23.94 kB / 0.6128 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/0.4742, allocations: 43.98 kB / 0.6129 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.4744, allocations: 85.08 kB / 0.6129 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.332e-05/0.4745, allocations: 44 kB / 0.613 GB, free: 13.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004271/0.4749, allocations: 306.9 kB / 0.6133 GB, free: 13.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4749, allocations: 4 kB / 0.6133 GB, free: 13.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001053/0.476, allocations: 355.2 kB / 0.6136 GB, free: 13.31 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.004792/0.4808, allocations: 2.912 MB / 0.6165 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003176/0.4839, allocations: 1.276 MB / 0.6177 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.4839, allocations: 4 kB / 0.6177 GB, free: 9.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001843/0.4858, allocations: 0.6849 MB / 0.6184 GB, free: 8.402 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009594/0.4868, allocations: 101.9 kB / 0.6185 GB, free: 8.305 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.5023, allocations: 8.396 MB / 0.6267 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009545/0.5032, allocations: 1.036 MB / 0.6277 GB, free: 14.56 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005072/0.5038, allocations: 114.8 kB / 0.6278 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006348/0.5044, allocations: 391.3 kB / 0.6282 GB, free: 14.06 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5044, allocations: 0 / 0.6282 GB, free: 14.06 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06374/0.5681, allocations: 23.26 MB / 0.6509 GB, free: 6.957 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/14.99, allocations: 7.297 kB / 0.6509 GB, free: 6.953 MB / 494.1 MB " [Timeout remaining time 645] (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: 18.49740120698698]