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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 203.2 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.1 MB / 222.6 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.271/0.271, allocations: 43.5 MB / 313.5 MB, free: 8.535 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.91 kB / 382.1 MB, free: 8.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.08895, allocations: 57.78 MB / 439.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007157/0.09614, allocations: 7.665 MB / 447.6 MB, free: 7.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003694/0.09986, allocations: 2.353 MB / 449.9 MB, free: 4.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.1003, allocations: 31.94 kB / 450 MB, free: 4.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003115/0.1034, allocations: 1.697 MB / 451.7 MB, free: 2.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.105, allocations: 0.8243 MB / 452.5 MB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.1067, allocations: 0.8261 MB / 453.3 MB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1541/0.2608, allocations: 1.372 MB / 454.7 MB, free: 37.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.2624, allocations: 0.9084 MB / 455.6 MB, free: 37.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005779/0.263, allocations: 0.5772 MB / 456.2 MB, free: 37.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/0.2634, allocations: 0.7254 MB / 456.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.2636, allocations: 84.44 kB / 457 MB, free: 37.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005805/0.2642, allocations: 296.8 kB / 457.3 MB, free: 37.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.2643, allocations: 272.6 kB / 457.5 MB, free: 37.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003595/0.2647, allocations: 0.6369 MB / 458.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.2657, allocations: 1.709 MB / 459.9 MB, free: 36.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2657, allocations: 0 / 459.9 MB, free: 36.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2657, allocations: 2.875 kB / 459.9 MB, free: 36.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.2657, allocations: 0 / 459.9 MB, free: 36.66 MB / 382.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.006177/0.2719, allocations: 2.401 MB / 462.3 MB, free: 35.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2719, allocations: 15.34 kB / 462.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.2721, allocations: 203 kB / 462.5 MB, free: 35.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009603/0.2817, allocations: 1.488 MB / 464 MB, free: 35.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.2824, allocations: 0.6141 MB / 464.6 MB, free: 35.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/0.2824, allocations: 102.4 kB / 464.7 MB, free: 35.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.2826, allocations: 139 kB / 464.8 MB, free: 35.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.2846, allocations: 1.533 MB / 466.4 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.2847, allocations: 0 / 466.4 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.2848, allocations: 56.09 kB / 466.4 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.2848, allocations: 42.03 kB / 466.5 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.287, allocations: 1.58 MB / 468 MB, free: 35.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005827/0.2928, allocations: 5.549 MB / 473.6 MB, free: 31.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.2946, allocations: 2.364 MB / 476 MB, free: 29.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007974/0.2954, allocations: 0.6621 MB / 476.6 MB, free: 29.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.2955, allocations: 105.4 kB / 476.7 MB, free: 29.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.2956, allocations: 49.97 kB / 476.8 MB, free: 29.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 2.755e-06/0.2956, allocations: 0 / 476.8 MB, free: 29.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.007631/0.3032, allocations: 3.164 MB / 479.9 MB, free: 28.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.3033, allocations: 97.59 kB / 480 MB, free: 28.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.3036, allocations: 480.7 kB / 480.5 MB, free: 27.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.819e-05/0.3037, allocations: 47.77 kB / 480.5 MB, free: 27.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.3039, allocations: 485.2 kB / 481 MB, free: 27.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.304, allocations: 435.6 kB / 481.4 MB, free: 27.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.3043, allocations: 223.3 kB / 481.7 MB, free: 26.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.043e-05/0.3044, allocations: 386.8 kB / 482 MB, free: 26.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006962/0.3051, allocations: 467.2 kB / 482.5 MB, free: 26.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007626/0.3059, allocations: 0.7465 MB / 483.2 MB, free: 25.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.3073, allocations: 1.256 MB / 484.5 MB, free: 25.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.3073, allocations: 2.938 kB / 484.5 MB, free: 25.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002605/0.3099, allocations: 1.667 MB / 486.2 MB, free: 24.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.31, allocations: 8.875 kB / 486.2 MB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.31, allocations: 8.312 kB / 486.2 MB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.3114, allocations: 0.5275 MB / 486.7 MB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/0.3121, allocations: 221 kB / 486.9 MB, free: 24.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001793/0.3123, allocations: 62.75 kB / 487 MB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.313, allocations: 132.3 kB / 487.1 MB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/0.3131, allocations: 53 kB / 487.2 MB, free: 24.17 MB / 382.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.0003428/0.3134, allocations: 273.1 kB / 487.4 MB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.3136, allocations: 83.78 kB / 487.5 MB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.316, allocations: 1.576 MB / 489.1 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.316, allocations: 18.16 kB / 489.1 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.316, allocations: 0 / 489.1 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.316, allocations: 8.328 kB / 489.1 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003987/0.32, allocations: 2.902 MB / 492 MB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.32, allocations: 6.312 kB / 492 MB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006153/0.3206, allocations: 140.2 kB / 492.2 MB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/0.322, allocations: 0.5236 MB / 492.7 MB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-05/0.3221, allocations: 25.61 kB / 492.7 MB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-05/0.3222, allocations: 23.5 kB / 492.7 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3222, allocations: 1 kB / 492.7 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/0.3255, allocations: 2.311 MB / 495.1 MB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.3258, allocations: 286.7 kB / 495.3 MB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.3259, allocations: 25.36 kB / 495.4 MB, free: 20.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/0.3265, allocations: 45.81 kB / 495.4 MB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.3267, allocations: 81.78 kB / 495.5 MB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/0.3268, allocations: 34.22 kB / 495.5 MB, free: 20.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003139/0.3271, allocations: 319.6 kB / 495.8 MB, free: 19.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3271, allocations: 0 / 495.8 MB, free: 19.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008679/0.328, allocations: 350.5 kB / 496.2 MB, free: 19.84 MB / 382.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.003569/0.3315, allocations: 2.901 MB / 499.1 MB, free: 18.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002665/0.3342, allocations: 1.396 MB / 0.4887 GB, free: 17.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.3342, allocations: 1.766 kB / 0.4887 GB, free: 17.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.3358, allocations: 0.7737 MB / 0.4895 GB, free: 17.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006575/0.3365, allocations: 108.4 kB / 0.4896 GB, free: 17.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.3481, allocations: 9.415 MB / 0.4988 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.3486, allocations: 1.049 MB / 0.4998 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005683/0.3492, allocations: 118.2 kB / 0.4999 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.3496, allocations: 392.2 kB / 0.5003 GB, free: 10.54 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3496, allocations: 0 / 0.5003 GB, free: 10.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.3793, allocations: 20.68 MB / 0.5205 GB, free: 10.75 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/0.3795, allocations: 244.3 kB / 0.5207 GB, free: 10.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.42, allocations: 0 / 0.5207 GB, free: 10.49 MB / 398.1 MB (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 --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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches