Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",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.00107/0.00107, allocations: 96.2 kB / 15.68 MB, free: 488 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.00139/0.001391, allocations: 173.9 kB / 16.56 MB, free: 6.375 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.847/1.847, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4156/0.4156, allocations: 43.55 MB / 314.5 MB, free: 9.012 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.0005415/0.0005416, allocations: 18.97 kB / 384 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1323, allocations: 58.86 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006502/0.1388, allocations: 5.556 MB / 448.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004827/0.1437, allocations: 2.052 MB / 450.5 MB, free: 5.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007696/0.1445, allocations: 23.94 kB / 450.5 MB, free: 5.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007853/0.1453, allocations: 230.6 kB / 450.7 MB, free: 5.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.1479, allocations: 0.7985 MB / 451.5 MB, free: 4.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.1492, allocations: 486.8 kB / 452 MB, free: 4.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.151, allocations: 0.819 MB / 452.8 MB, free: 3.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.1539, allocations: 1.241 MB / 454 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.1551, allocations: 410.4 kB / 454.4 MB, free: 1.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.1563, allocations: 0.5018 MB / 454.9 MB, free: 1.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003543/0.1566, allocations: 48 kB / 455 MB, free: 1.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.1577, allocations: 199.8 kB / 455.2 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.1579, allocations: 195.2 kB / 455.4 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003294/0.1582, allocations: 213.1 kB / 455.6 MB, free: 412 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2391/0.3973, allocations: 1.095 MB / 456.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3974, allocations: 0.8125 kB / 456.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3974, allocations: 3.594 kB / 456.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.444e-05/0.3974, allocations: 0 / 456.7 MB, free: 37.7 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003478/0.4009, allocations: 1.488 MB / 458.2 MB, free: 37.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.4009, allocations: 11.12 kB / 458.2 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000217/0.4012, allocations: 191.9 kB / 458.4 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009392/0.4106, allocations: 1.437 MB / 459.8 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.4117, allocations: 0.5269 MB / 460.3 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/0.4118, allocations: 94.55 kB / 460.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.412, allocations: 122.9 kB / 460.5 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.4139, allocations: 1.169 MB / 461.7 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.4139, allocations: 10.72 kB / 461.7 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.414, allocations: 48.97 kB / 461.8 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.414, allocations: 31.27 kB / 461.8 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.4161, allocations: 1.437 MB / 463.2 MB, free: 36.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006323/0.4224, allocations: 4.866 MB / 468.1 MB, free: 34.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.4239, allocations: 1.191 MB / 469.3 MB, free: 34.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.797e-05/0.424, allocations: 110.8 kB / 469.4 MB, free: 34.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.4241, allocations: 45.09 kB / 469.4 MB, free: 34.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.584e-06/0.4241, allocations: 0 / 469.4 MB, free: 34.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.001817/0.4259, allocations: 1.206 MB / 470.7 MB, free: 33.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.4259, allocations: 58.81 kB / 470.7 MB, free: 33.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/0.4267, allocations: 0.7945 MB / 471.5 MB, free: 33.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.4268, allocations: 53.12 kB / 471.6 MB, free: 33.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.427, allocations: 478.3 kB / 472 MB, free: 33.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.4272, allocations: 310.4 kB / 472.3 MB, free: 33.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.4273, allocations: 23.97 kB / 472.3 MB, free: 33.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4274, allocations: 394.7 kB / 472.7 MB, free: 32.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/0.4279, allocations: 351.2 kB / 473.1 MB, free: 32.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.4285, allocations: 0.6001 MB / 473.7 MB, free: 32.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.4291, allocations: 433 kB / 474.1 MB, free: 32.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.4292, allocations: 3.312 kB / 474.1 MB, free: 32.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001594/0.4308, allocations: 1.169 MB / 475.3 MB, free: 32.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.4308, allocations: 13.78 kB / 475.3 MB, free: 32.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.4308, allocations: 15.91 kB / 475.3 MB, free: 32.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002495/0.4311, allocations: 63.09 kB / 475.4 MB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009031/0.432, allocations: 261.2 kB / 475.6 MB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.4334, allocations: 2.647 MB / 478.3 MB, free: 29.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008131/0.4342, allocations: 156.6 kB / 478.4 MB, free: 29.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/0.4343, allocations: 48.41 kB / 478.5 MB, free: 29.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007299/0.435, allocations: 258.1 kB / 478.7 MB, free: 29.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.4351, allocations: 85.97 kB / 478.8 MB, free: 29.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.4367, allocations: 1.114 MB / 479.9 MB, free: 29.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4367, allocations: 10.12 kB / 479.9 MB, free: 29.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4367, allocations: 0 / 479.9 MB, free: 29.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.4367, allocations: 13.45 kB / 479.9 MB, free: 29.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/0.4397, allocations: 2.732 MB / 482.7 MB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.4398, allocations: 10.09 kB / 482.7 MB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/0.4404, allocations: 177.8 kB / 482.9 MB, free: 27.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/0.4406, allocations: 66.77 kB / 482.9 MB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.4407, allocations: 24.94 kB / 482.9 MB, free: 27.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.442, allocations: 2.637 MB / 485.6 MB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.442, allocations: 6.375 kB / 485.6 MB, free: 25.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.4439, allocations: 1.787 MB / 487.4 MB, free: 23.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.4442, allocations: 213.8 kB / 487.6 MB, free: 23.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.4444, allocations: 27.16 kB / 487.6 MB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006088/0.445, allocations: 54.64 kB / 487.7 MB, free: 23.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4451, allocations: 76.09 kB / 487.7 MB, free: 23.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.4451, allocations: 35.41 kB / 487.8 MB, free: 23.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005972/0.4458, allocations: 0.5577 MB / 488.3 MB, free: 23.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4458, allocations: 4 kB / 488.3 MB, free: 23.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009738/0.4467, allocations: 294.1 kB / 488.6 MB, free: 23.29 MB / 382.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 (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002518/0.4493, allocations: 4.109 MB / 492.7 MB, free: 19.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.4512, allocations: 1.089 MB / 493.8 MB, free: 19.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.4512, allocations: 1.094 kB / 493.8 MB, free: 19.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008385/0.4521, allocations: 0.6292 MB / 494.4 MB, free: 18.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/0.4527, allocations: 107.1 kB / 494.6 MB, free: 18.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009424/0.4621, allocations: 10.87 MB / 0.4936 GB, free: 26.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.4629, allocations: 1.02 MB / 0.4946 GB, free: 25.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007106/0.4636, allocations: 150.1 kB / 0.4947 GB, free: 25.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/0.464, allocations: 369.4 kB / 0.4951 GB, free: 25.27 MB / 398.1 MB Notification: Performance of SimCode: time 8.51e-07/0.464, allocations: 0 / 0.4951 GB, free: 25.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04149/0.5055, allocations: 17.53 MB / 0.5122 GB, free: 20.94 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.5058, allocations: 229.1 kB / 0.5124 GB, free: 20.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/2.863, allocations: 0 / 0.5124 GB, free: 20.7 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat