Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 120.2 kB / 17.83 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003128/0.003128, allocations: 204.7 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 207.6 MB / 231.2 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3961/0.3961, allocations: 44.22 MB / 327.3 MB, free: 6.734 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 71.89 kB / 462.9 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3961, allocations: 60.99 MB / 0.5116 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008117/0.4043, allocations: 7.774 MB / 0.5192 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006368/0.4106, allocations: 2.37 MB / 0.5215 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.4129, allocations: 27.94 kB / 0.5216 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004059/0.4169, allocations: 1.827 MB / 0.5234 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.4204, allocations: 0.7301 MB / 0.5241 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.4226, allocations: 1.079 MB / 0.5251 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.4249, allocations: 1.44 MB / 0.5265 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.4263, allocations: 0.7703 MB / 0.5273 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009465/0.4273, allocations: 0.6345 MB / 0.5279 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008669/0.4282, allocations: 0.7392 MB / 0.5286 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.4283, allocations: 116 kB / 0.5287 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008635/0.4292, allocations: 331.8 kB / 0.529 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.4294, allocations: 306.9 kB / 0.5293 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007473/0.4302, allocations: 0.6724 MB / 0.53 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002605/0.4328, allocations: 1.773 MB / 0.5317 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4328, allocations: 0 / 0.5317 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.4328, allocations: 0 / 0.5317 GB, free: 10.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.4328, allocations: 0 / 0.5317 GB, free: 10.31 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007939/0.4408, allocations: 2.433 MB / 0.5341 GB, free: 7.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.4408, allocations: 15.89 kB / 0.5341 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.465e-05/0.4409, allocations: 34.91 kB / 0.5341 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/0.4411, allocations: 202.9 kB / 0.5343 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.4519, allocations: 1.502 MB / 0.5358 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.4535, allocations: 0.6366 MB / 0.5364 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.4536, allocations: 103.1 kB / 0.5365 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/0.4538, allocations: 135.9 kB / 0.5367 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/0.4567, allocations: 1.523 MB / 0.5381 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/0.4568, allocations: 15.83 kB / 0.5382 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.4569, allocations: 56 kB / 0.5382 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.853e-05/0.4569, allocations: 36 kB / 0.5383 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/0.46, allocations: 1.58 MB / 0.5398 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009801/0.4698, allocations: 5.513 MB / 0.5452 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.4727, allocations: 2.233 MB / 0.5474 GB, free: 9.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.4737, allocations: 0.559 MB / 0.5479 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.4739, allocations: 106.1 kB / 0.548 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.4739, allocations: 51.5 kB / 0.5481 GB, free: 8.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.047e-06/0.4739, allocations: 0 / 0.5481 GB, free: 8.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.009769/0.4837, allocations: 3.144 MB / 0.5511 GB, free: 5.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.4837, allocations: 90.11 kB / 0.5512 GB, free: 5.555 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.4844, allocations: 486 kB / 0.5517 GB, free: 5.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.149e-05/0.4845, allocations: 41.7 kB / 0.5517 GB, free: 5.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.4849, allocations: 0.4891 MB / 0.5522 GB, free: 4.523 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/0.4853, allocations: 452.1 kB / 0.5526 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/0.4857, allocations: 226.8 kB / 0.5528 GB, free: 3.852 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.4859, allocations: 386.8 kB / 0.5532 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008842/0.4868, allocations: 471.1 kB / 0.5537 GB, free: 3.008 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.488, allocations: 0.74 MB / 0.5544 GB, free: 2.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.49, allocations: 1.262 MB / 0.5556 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.49, allocations: 0 / 0.5556 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003332/0.4934, allocations: 1.646 MB / 0.5572 GB, free: 15.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.4934, allocations: 12.45 kB / 0.5572 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4934, allocations: 12 kB / 0.5572 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/0.4951, allocations: 0.5278 MB / 0.5578 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008308/0.4959, allocations: 215.7 kB / 0.558 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002203/0.4961, allocations: 61.19 kB / 0.558 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.4969, allocations: 131 kB / 0.5581 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/0.497, allocations: 48 kB / 0.5582 GB, free: 14.12 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (120): * Single equations (assignments): 119 * 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.0005744/0.4975, allocations: 281.5 kB / 0.5585 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.4977, allocations: 95.36 kB / 0.5586 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/0.5008, allocations: 1.552 MB / 0.5601 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.5008, allocations: 16 kB / 0.5601 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.5009, allocations: 4 kB / 0.5601 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.5009, allocations: 7.969 kB / 0.5601 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005003/0.5059, allocations: 2.859 MB / 0.5629 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.5059, allocations: 0 / 0.5629 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/0.5065, allocations: 147.8 kB / 0.563 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/0.5081, allocations: 0.5222 MB / 0.5635 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.56e-05/0.5082, allocations: 28 kB / 0.5636 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001028/0.5083, allocations: 24.84 kB / 0.5636 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5083, allocations: 3.938 kB / 0.5636 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004143/0.5124, allocations: 2.279 MB / 0.5658 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005579/0.513, allocations: 288.1 kB / 0.5661 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.5131, allocations: 24 kB / 0.5661 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006107/0.5137, allocations: 52.03 kB / 0.5662 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.5139, allocations: 81.14 kB / 0.5662 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.55e-05/0.514, allocations: 32 kB / 0.5663 GB, free: 5.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004315/0.5144, allocations: 318.9 kB / 0.5666 GB, free: 5.391 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5144, allocations: 0 / 0.5666 GB, free: 5.391 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00109/0.5155, allocations: 355.2 kB / 0.5669 GB, free: 5.043 MB / 430.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 (86): * Single equations (assignments): 85 * 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.004567/0.5201, allocations: 2.873 MB / 0.5697 GB, free: 2.141 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003271/0.5233, allocations: 1.301 MB / 0.571 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5233, allocations: 0 / 0.571 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.5251, allocations: 0.6813 MB / 0.5717 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.5259, allocations: 110.1 kB / 0.5718 GB, free: 56 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.5404, allocations: 8.618 MB / 0.5802 GB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/0.5411, allocations: 1.048 MB / 0.5812 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004904/0.5416, allocations: 119 kB / 0.5813 GB, free: 5.906 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/0.5422, allocations: 403.2 kB / 0.5817 GB, free: 5.512 MB / 446.1 MB Notification: Performance of SimCode: time 1.263e-06/0.5422, allocations: 3.938 kB / 0.5817 GB, free: 5.508 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05392/0.5961, allocations: 22.3 MB / 0.6035 GB, free: 15.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.14, allocations: 15.95 kB / 0.6035 GB, free: 15.15 MB / 478.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.423807035956997]