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.001073/0.001073, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 75.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3859, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008258/0.3942, allocations: 7.496 MB / 0.5378 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005107/0.3993, allocations: 2.35 MB / 0.5401 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.4008, allocations: 27.5 kB / 0.5402 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004243/0.4051, allocations: 1.751 MB / 0.5419 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.4077, allocations: 0.6934 MB / 0.5425 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.4096, allocations: 0.739 MB / 0.5433 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00257/0.4122, allocations: 1.246 MB / 0.5445 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.4143, allocations: 0.9435 MB / 0.5454 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.4156, allocations: 0.5134 MB / 0.5459 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.4168, allocations: 0.6622 MB / 0.5465 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000402/0.4173, allocations: 106.6 kB / 0.5466 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.4186, allocations: 299.6 kB / 0.5469 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.419, allocations: 275 kB / 0.5472 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009292/0.42, allocations: 0.6063 MB / 0.5478 GB, free: 44 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.4221, allocations: 1.6 MB / 0.5494 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4222, allocations: 0 / 0.5494 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.596e-06/0.4222, allocations: 4 kB / 0.5494 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.687e-05/0.4222, 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.004836/0.4271, allocations: 1.803 MB / 0.5511 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4271, allocations: 12.03 kB / 0.5511 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002878/0.4274, allocations: 194.7 kB / 0.5513 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009302/0.4367, allocations: 1.338 MB / 0.5526 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.438, allocations: 0.5607 MB / 0.5532 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.671e-05/0.438, allocations: 95.03 kB / 0.5533 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.4382, allocations: 139.8 kB / 0.5534 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.4404, allocations: 1.245 MB / 0.5546 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.4405, allocations: 3.984 kB / 0.5546 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.4406, allocations: 56 kB / 0.5547 GB, free: 8.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.4406, allocations: 32 kB / 0.5547 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.4429, allocations: 1.443 MB / 0.5561 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008093/0.451, allocations: 5.796 MB / 0.5618 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.4529, allocations: 0.9496 MB / 0.5627 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006156/0.4535, allocations: 363.8 kB / 0.563 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.4537, allocations: 187.2 kB / 0.5632 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.4538, allocations: 47.56 kB / 0.5633 GB, free: 15.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.876e-06/0.4538, allocations: 0 / 0.5633 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002228/0.456, allocations: 1.198 MB / 0.5644 GB, free: 14.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.4561, allocations: 60.41 kB / 0.5645 GB, free: 14.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.4573, allocations: 0.8286 MB / 0.5653 GB, free: 13.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/0.4573, allocations: 41.7 kB / 0.5653 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.4577, allocations: 0.4986 MB / 0.5658 GB, free: 12.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.4579, allocations: 307.5 kB / 0.5661 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/0.4582, allocations: 198.8 kB / 0.5663 GB, free: 12.28 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4584, allocations: 398.7 kB / 0.5667 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/0.459, allocations: 346.5 kB / 0.567 GB, free: 11.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/0.4598, allocations: 0.6225 MB / 0.5676 GB, free: 10.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.4612, allocations: 0.9875 MB / 0.5686 GB, free: 9.703 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.4613, allocations: 7.938 kB / 0.5686 GB, free: 9.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002092/0.4634, allocations: 1.181 MB / 0.5698 GB, free: 8.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.4634, allocations: 16.66 kB / 0.5698 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.4634, allocations: 12 kB / 0.5698 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/0.4637, allocations: 69.67 kB / 0.5698 GB, free: 8.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009895/0.4647, allocations: 263.6 kB / 0.5701 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.4669, allocations: 2.822 MB / 0.5729 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008802/0.4678, allocations: 158.4 kB / 0.573 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.12e-05/0.4679, allocations: 51.98 kB / 0.5731 GB, free: 4.828 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.0004339/0.4683, allocations: 264.5 kB / 0.5733 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.4685, allocations: 98.75 kB / 0.5734 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.4704, allocations: 1.103 MB / 0.5745 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.4704, allocations: 15.98 kB / 0.5745 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4704, allocations: 0 / 0.5745 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.4704, allocations: 3.984 kB / 0.5745 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004329/0.4748, allocations: 3.151 MB / 0.5776 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.4748, allocations: 4 kB / 0.5776 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000748/0.4755, allocations: 179.7 kB / 0.5778 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/0.4758, allocations: 61.67 kB / 0.5778 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/0.4759, allocations: 31.94 kB / 0.5778 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.4781, allocations: 2.828 MB / 0.5806 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.4781, allocations: 8 kB / 0.5806 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.4805, allocations: 1.481 MB / 0.5821 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003978/0.4809, allocations: 195.8 kB / 0.5822 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.4811, allocations: 23.98 kB / 0.5823 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006984/0.4818, allocations: 59.97 kB / 0.5823 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.482, allocations: 84.3 kB / 0.5824 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.4821, allocations: 28 kB / 0.5824 GB, free: 10.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000896/0.483, allocations: 0.581 MB / 0.583 GB, free: 9.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.483, allocations: 0 / 0.583 GB, free: 9.887 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001206/0.4842, allocations: 315.4 kB / 0.5833 GB, free: 9.578 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.002875/0.4871, allocations: 2.079 MB / 0.5853 GB, free: 7.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.4891, allocations: 1.098 MB / 0.5864 GB, free: 6.262 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.4892, allocations: 4 kB / 0.5864 GB, free: 6.258 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009416/0.4901, allocations: 0.6185 MB / 0.587 GB, free: 5.613 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008591/0.491, allocations: 123.7 kB / 0.5871 GB, free: 5.496 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.5043, allocations: 8.431 MB / 0.5954 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.5051, allocations: 1.016 MB / 0.5964 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006218/0.5057, allocations: 151.8 kB / 0.5965 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006077/0.5063, allocations: 379.3 kB / 0.5969 GB, free: 11 MB / 462.1 MB Notification: Performance of SimCode: time 2.034e-06/0.5064, allocations: 0 / 0.5969 GB, free: 11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05408/0.5604, allocations: 20.01 MB / 0.6164 GB, free: 7.207 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.69, allocations: 0 / 0.6164 GB, free: 7.207 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