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.001651/0.001651, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001877/0.001877, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2533/0.2533, allocations: 46.12 MB / 344.4 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 75.88 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3075, allocations: 62.45 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00885/0.3164, allocations: 7.492 MB / 0.5379 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004394/0.3209, allocations: 2.361 MB / 0.5402 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003979/0.3213, allocations: 23.22 kB / 0.5403 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00367/0.325, allocations: 1.743 MB / 0.542 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.3267, allocations: 0.7039 MB / 0.5427 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.3283, allocations: 0.7319 MB / 0.5434 GB, free: 3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.3296, allocations: 1.253 MB / 0.5446 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.3309, allocations: 0.9333 MB / 0.5455 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006857/0.3316, allocations: 0.5067 MB / 0.546 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007744/0.3324, allocations: 0.6663 MB / 0.5467 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.3326, allocations: 105.1 kB / 0.5468 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007071/0.3333, allocations: 302.9 kB / 0.547 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.3335, allocations: 271 kB / 0.5473 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005946/0.3341, allocations: 0.6064 MB / 0.5479 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.336, allocations: 1.619 MB / 0.5495 GB, free: 14.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.336, allocations: 4 kB / 0.5495 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.336, allocations: 0 / 0.5495 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.336, allocations: 0 / 0.5495 GB, free: 14.3 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.004388/0.3404, allocations: 1.833 MB / 0.5513 GB, free: 12.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3404, allocations: 12.03 kB / 0.5513 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/0.3407, allocations: 194.7 kB / 0.5515 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009374/0.3501, allocations: 1.268 MB / 0.5527 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009902/0.3511, allocations: 0.5727 MB / 0.5533 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.3512, allocations: 95.03 kB / 0.5534 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.3514, allocations: 139.9 kB / 0.5535 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.3536, allocations: 1.246 MB / 0.5547 GB, free: 8.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.3537, allocations: 0 / 0.5547 GB, free: 8.828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.3538, allocations: 59.98 kB / 0.5548 GB, free: 8.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.3539, allocations: 39.94 kB / 0.5548 GB, free: 8.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/0.3564, allocations: 1.455 MB / 0.5562 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008422/0.3648, allocations: 5.813 MB / 0.5619 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.3668, allocations: 1.118 MB / 0.563 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.3674, allocations: 372.2 kB / 0.5633 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.3676, allocations: 187.2 kB / 0.5635 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.3677, allocations: 43.56 kB / 0.5636 GB, free: 15.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 4.127e-06/0.3677, allocations: 7.984 kB / 0.5636 GB, free: 15.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.00242/0.3701, allocations: 1.211 MB / 0.5648 GB, free: 13.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.3702, allocations: 60.41 kB / 0.5648 GB, free: 13.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.3712, allocations: 0.8326 MB / 0.5656 GB, free: 12.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.3713, allocations: 37.7 kB / 0.5657 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.3717, allocations: 0.5155 MB / 0.5662 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.3719, allocations: 321.3 kB / 0.5665 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/0.3723, allocations: 206.8 kB / 0.5667 GB, free: 11.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.3725, allocations: 398.7 kB / 0.567 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006512/0.3731, allocations: 342.5 kB / 0.5674 GB, free: 11.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009148/0.3741, allocations: 0.6225 MB / 0.568 GB, free: 10.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.3757, allocations: 0.9953 MB / 0.569 GB, free: 9.301 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.3757, allocations: 4 kB / 0.569 GB, free: 9.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002143/0.3778, allocations: 1.202 MB / 0.5701 GB, free: 8.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.3779, allocations: 18.06 kB / 0.5701 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.3779, allocations: 8 kB / 0.5702 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002979/0.3782, allocations: 70.11 kB / 0.5702 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.3792, allocations: 259.6 kB / 0.5705 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.3816, allocations: 2.826 MB / 0.5732 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/0.3825, allocations: 154.8 kB / 0.5734 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/0.3826, allocations: 47.98 kB / 0.5734 GB, free: 4.422 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.0003867/0.383, allocations: 268.6 kB / 0.5737 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.3831, allocations: 99.33 kB / 0.5738 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.385, allocations: 1.107 MB / 0.5749 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.3851, allocations: 12 kB / 0.5749 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3851, allocations: 0 / 0.5749 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.3851, allocations: 3.984 kB / 0.5749 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004098/0.3892, allocations: 3.171 MB / 0.578 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.3892, allocations: 8 kB / 0.578 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/0.39, allocations: 183.6 kB / 0.5781 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/0.3902, allocations: 70.17 kB / 0.5782 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.769e-05/0.3903, allocations: 28 kB / 0.5782 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/0.3925, allocations: 2.828 MB / 0.581 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.3926, allocations: 4 kB / 0.581 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.3949, allocations: 1.489 MB / 0.5825 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.3951, allocations: 196.3 kB / 0.5826 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.3953, allocations: 36 kB / 0.5827 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/0.3959, allocations: 51.91 kB / 0.5827 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.3961, allocations: 80.3 kB / 0.5828 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.3961, allocations: 35.98 kB / 0.5828 GB, free: 10.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008065/0.3969, allocations: 0.5771 MB / 0.5834 GB, free: 9.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3969, allocations: 0 / 0.5834 GB, free: 9.434 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009546/0.3979, allocations: 307.6 kB / 0.5837 GB, free: 9.133 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.002771/0.4007, allocations: 2.095 MB / 0.5857 GB, free: 6.926 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.4027, allocations: 1.102 MB / 0.5868 GB, free: 5.801 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4027, allocations: 4 kB / 0.5868 GB, free: 5.797 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009332/0.4036, allocations: 0.6228 MB / 0.5874 GB, free: 5.148 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.4044, allocations: 127.2 kB / 0.5876 GB, free: 5.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.4166, allocations: 8.461 MB / 0.5958 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/0.4172, allocations: 1.012 MB / 0.5968 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005439/0.4178, allocations: 155.7 kB / 0.597 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/0.4184, allocations: 391.3 kB / 0.5973 GB, free: 10.48 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4184, allocations: 7.938 kB / 0.5973 GB, free: 10.48 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07872/0.4971, allocations: 19.39 MB / 0.6163 GB, free: 7.301 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.89, allocations: 20.11 kB / 0.6163 GB, free: 7.285 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