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.002004/0.002004, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001486/0.001486, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.415/1.415, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.2177/0.2177, allocations: 46.94 MB / 360.8 MB, free: 3.914 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.002434/0.002434, allocations: 79.88 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3148, allocations: 66.08 MB / 0.5607 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.0094/0.3242, allocations: 6.817 MB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005721/0.3299, allocations: 2.287 MB / 0.5696 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.331, allocations: 31.94 kB / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004468/0.3354, allocations: 1.691 MB / 0.5713 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002392/0.3378, allocations: 0.6977 MB / 0.5719 GB, free: 8.418 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.3403, allocations: 1.038 MB / 0.573 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.3422, allocations: 1.417 MB / 0.5743 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.3436, allocations: 0.9066 MB / 0.5752 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008476/0.3445, allocations: 0.6267 MB / 0.5758 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000799/0.3453, allocations: 0.6456 MB / 0.5765 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.3454, allocations: 112 kB / 0.5766 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000746/0.3462, allocations: 323.8 kB / 0.5769 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.3464, allocations: 294.9 kB / 0.5772 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005259/0.347, allocations: 0.5365 MB / 0.5777 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.3491, allocations: 1.778 MB / 0.5794 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3491, allocations: 0 / 0.5794 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3491, allocations: 3.938 kB / 0.5794 GB, free: 0.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.3491, allocations: 7.938 kB / 0.5794 GB, free: 0.6992 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.007378/0.3565, allocations: 2.342 MB / 0.5817 GB, free: 14.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.3565, allocations: 8.031 kB / 0.5817 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002344/0.3568, allocations: 194.7 kB / 0.5819 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009634/0.3664, allocations: 1.335 MB / 0.5832 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.3678, allocations: 0.5529 MB / 0.5838 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.473e-05/0.3679, allocations: 99.02 kB / 0.5839 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.3681, allocations: 136.1 kB / 0.584 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/0.3709, allocations: 1.595 MB / 0.5855 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.3709, allocations: 7.953 kB / 0.5856 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.3711, allocations: 52 kB / 0.5856 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.3711, allocations: 36 kB / 0.5856 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.3738, allocations: 1.497 MB / 0.5871 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007986/0.3817, allocations: 4.453 MB / 0.5914 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.3837, allocations: 1.076 MB / 0.5925 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000955/0.3847, allocations: 0.5459 MB / 0.593 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.3848, allocations: 36.97 kB / 0.5931 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.3849, allocations: 47.56 kB / 0.5931 GB, free: 2.383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.457e-06/0.3849, allocations: 0 / 0.5931 GB, free: 2.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.008994/0.3939, allocations: 2.998 MB / 0.596 GB, free: 15.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.3939, allocations: 90.11 kB / 0.5961 GB, free: 15.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006145/0.3945, allocations: 477.8 kB / 0.5966 GB, free: 14.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.088e-05/0.3946, allocations: 49.73 kB / 0.5966 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.395, allocations: 484.8 kB / 0.5971 GB, free: 14.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003982/0.3954, allocations: 444.1 kB / 0.5975 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/0.3957, allocations: 218.8 kB / 0.5977 GB, free: 13.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.396, allocations: 382.8 kB / 0.5981 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008712/0.3968, allocations: 454.4 kB / 0.5985 GB, free: 12.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.3979, allocations: 0.6997 MB / 0.5992 GB, free: 11.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.4, allocations: 1.205 MB / 0.6004 GB, free: 10.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.4, allocations: 4 kB / 0.6004 GB, free: 10.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00306/0.403, allocations: 1.574 MB / 0.6019 GB, free: 9.094 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.4031, allocations: 8 kB / 0.6019 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.4031, allocations: 8 kB / 0.6019 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.4047, allocations: 0.5281 MB / 0.6025 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/0.4054, allocations: 195.7 kB / 0.6026 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002014/0.4056, allocations: 69.06 kB / 0.6027 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007044/0.4063, allocations: 119.1 kB / 0.6028 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-05/0.4064, allocations: 47.98 kB / 0.6029 GB, free: 8.121 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.0005343/0.407, allocations: 265.6 kB / 0.6031 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.4072, allocations: 87.44 kB / 0.6032 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.4103, allocations: 1.548 MB / 0.6047 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.4103, allocations: 15.94 kB / 0.6047 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4103, allocations: 4 kB / 0.6047 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.4103, allocations: 7.969 kB / 0.6047 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005082/0.4154, allocations: 2.629 MB / 0.6073 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4154, allocations: 4 kB / 0.6073 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/0.416, allocations: 147.8 kB / 0.6075 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.4175, allocations: 0.5184 MB / 0.608 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.862e-05/0.4176, allocations: 32 kB / 0.608 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003002/0.4179, allocations: 64.73 kB / 0.6081 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4179, allocations: 3.938 kB / 0.6081 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004101/0.422, allocations: 2.322 MB / 0.6103 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/0.4225, allocations: 207.2 kB / 0.6105 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.4226, allocations: 23.94 kB / 0.6105 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.4232, allocations: 47.97 kB / 0.6106 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.4234, allocations: 81.09 kB / 0.6107 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.19e-05/0.4235, allocations: 43.92 kB / 0.6107 GB, free: 15.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003848/0.4239, allocations: 306.9 kB / 0.611 GB, free: 15.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4239, allocations: 0 / 0.611 GB, free: 15.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009781/0.4249, allocations: 351.2 kB / 0.6113 GB, free: 15.34 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.004571/0.4294, allocations: 2.928 MB / 0.6142 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00299/0.4324, allocations: 1.272 MB / 0.6154 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4324, allocations: 0 / 0.6154 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.4342, allocations: 0.6892 MB / 0.6161 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/0.4349, allocations: 101.8 kB / 0.6162 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.4481, allocations: 8.38 MB / 0.6244 GB, free: 1.645 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.4486, allocations: 454.5 kB / 0.6248 GB, free: 1.164 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004617/0.449, allocations: 110.8 kB / 0.6249 GB, free: 1.051 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.4496, allocations: 395.3 kB / 0.6253 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4496, allocations: 0 / 0.6253 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05907/0.5086, allocations: 21.51 MB / 0.6463 GB, free: 11.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.01, allocations: 3.859 kB / 0.6463 GB, free: 11.33 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019976 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.csv","/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] "Error: Could not read variable I.re in file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.re from file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! Error: Could not read variable I.im in file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.im from file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.112193686887622]