Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 118.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001453, allocations: 197.2 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 79.86 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4245, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008106/0.4327, allocations: 7.495 MB / 0.5378 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00501/0.4377, allocations: 2.354 MB / 0.5401 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.4389, allocations: 28.44 kB / 0.5402 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004076/0.4431, allocations: 1.746 MB / 0.5419 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.4458, allocations: 0.6896 MB / 0.5425 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.4475, allocations: 0.758 MB / 0.5433 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002064/0.4496, allocations: 1.249 MB / 0.5445 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.4511, allocations: 0.9361 MB / 0.5454 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000878/0.452, allocations: 0.5088 MB / 0.5459 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000757/0.4528, allocations: 0.6635 MB / 0.5465 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.4529, allocations: 105.3 kB / 0.5466 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008051/0.4537, allocations: 301.2 kB / 0.5469 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.454, allocations: 274.9 kB / 0.5472 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000575/0.4545, allocations: 0.6064 MB / 0.5478 GB, free: 36 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.4564, allocations: 1.6 MB / 0.5494 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4565, allocations: 4 kB / 0.5494 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4565, allocations: 0 / 0.5494 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.4565, allocations: 0 / 0.5494 GB, free: 14.43 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004293/0.4608, allocations: 1.8 MB / 0.5511 GB, free: 12.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4608, allocations: 8.031 kB / 0.5511 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.461, allocations: 198.7 kB / 0.5513 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009021/0.4701, allocations: 1.334 MB / 0.5526 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.4712, allocations: 0.5646 MB / 0.5532 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.006e-05/0.4713, allocations: 99.03 kB / 0.5533 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.4715, allocations: 143.8 kB / 0.5534 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.4737, allocations: 1.234 MB / 0.5546 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.4738, allocations: 4 kB / 0.5546 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.4739, allocations: 63.97 kB / 0.5547 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.4739, allocations: 32 kB / 0.5547 GB, free: 8.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.4762, allocations: 1.439 MB / 0.5561 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008288/0.4845, allocations: 5.796 MB / 0.5618 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.4863, allocations: 0.9518 MB / 0.5627 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000643/0.4869, allocations: 367.8 kB / 0.563 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001852/0.4871, allocations: 187.1 kB / 0.5632 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.4872, allocations: 51.48 kB / 0.5633 GB, free: 15.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.316e-06/0.4872, allocations: 0 / 0.5633 GB, free: 15.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002276/0.4895, allocations: 1.206 MB / 0.5644 GB, free: 14.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.4895, allocations: 60.41 kB / 0.5645 GB, free: 14.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008964/0.4904, allocations: 0.8246 MB / 0.5653 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.4905, allocations: 41.7 kB / 0.5654 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.4908, allocations: 0.4986 MB / 0.5658 GB, free: 12.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.491, allocations: 303.5 kB / 0.5661 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.4913, allocations: 202.8 kB / 0.5663 GB, free: 12.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4915, allocations: 402.7 kB / 0.5667 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005838/0.4921, allocations: 350.5 kB / 0.567 GB, free: 11.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007647/0.4928, allocations: 0.6147 MB / 0.5676 GB, free: 10.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.4942, allocations: 0.9953 MB / 0.5686 GB, free: 9.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.4942, allocations: 0 / 0.5686 GB, free: 9.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00201/0.4962, allocations: 1.182 MB / 0.5698 GB, free: 8.484 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.4963, allocations: 11.94 kB / 0.5698 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.4963, allocations: 8 kB / 0.5698 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003036/0.4966, allocations: 69.61 kB / 0.5699 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009534/0.4976, allocations: 259.6 kB / 0.5701 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.4999, allocations: 2.826 MB / 0.5729 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000876/0.5008, allocations: 154.2 kB / 0.573 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.5009, allocations: 44 kB / 0.573 GB, free: 4.832 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003914/0.5013, allocations: 269.4 kB / 0.5733 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.5014, allocations: 94.81 kB / 0.5734 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.5032, allocations: 1.107 MB / 0.5745 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.5032, allocations: 8 kB / 0.5745 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5032, allocations: 0 / 0.5745 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.5033, allocations: 11.97 kB / 0.5745 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/0.5071, allocations: 3.151 MB / 0.5776 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5071, allocations: 8 kB / 0.5776 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/0.5078, allocations: 179.8 kB / 0.5778 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/0.508, allocations: 62.08 kB / 0.5778 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.5081, allocations: 28 kB / 0.5778 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.5099, allocations: 2.824 MB / 0.5806 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.51, allocations: 4 kB / 0.5806 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.512, allocations: 1.485 MB / 0.582 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.5123, allocations: 195.8 kB / 0.5822 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.5124, allocations: 32.05 kB / 0.5823 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/0.513, allocations: 47.98 kB / 0.5823 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.5132, allocations: 84.28 kB / 0.5824 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-05/0.5133, allocations: 36 kB / 0.5824 GB, free: 10.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006887/0.514, allocations: 0.5771 MB / 0.583 GB, free: 9.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.514, allocations: 3.938 kB / 0.583 GB, free: 9.883 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009665/0.5149, allocations: 315.4 kB / 0.5833 GB, free: 9.574 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002459/0.5174, allocations: 2.083 MB / 0.5853 GB, free: 7.375 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00188/0.5193, allocations: 1.097 MB / 0.5864 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5193, allocations: 0.6875 kB / 0.5864 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008731/0.5202, allocations: 0.6228 MB / 0.587 GB, free: 5.605 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007176/0.5209, allocations: 130.6 kB / 0.5871 GB, free: 5.484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.533, allocations: 8.425 MB / 0.5954 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006374/0.5337, allocations: 1.012 MB / 0.5963 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006175/0.5343, allocations: 159.7 kB / 0.5965 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.5349, allocations: 383.3 kB / 0.5969 GB, free: 10.98 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5349, allocations: 0 / 0.5969 GB, free: 10.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0536/0.5885, allocations: 20 MB / 0.6164 GB, free: 7.195 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.74, allocations: 0 / 0.6164 GB, free: 7.195 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches