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.0007471/0.0007472, allocations: 96.23 kB / 15.7 MB, free: 468 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.0007843/0.0007842, allocations: 169.7 kB / 16.58 MB, free: 6.844 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.403/1.403, allocations: 205.4 MB / 222.8 MB, free: 5.664 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.3704/0.3704, allocations: 43.54 MB / 314.6 MB, free: 8.754 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.0004795/0.0004795, allocations: 16 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1212, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00576/0.127, allocations: 5.963 MB / 448.8 MB, free: 6.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003769/0.1308, allocations: 2.012 MB / 450.9 MB, free: 4.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003758/0.1312, allocations: 23.94 kB / 450.9 MB, free: 4.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.1318, allocations: 234.6 kB / 451.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.1335, allocations: 0.7234 MB / 451.8 MB, free: 3.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.1345, allocations: 486.9 kB / 452.3 MB, free: 3.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1355, allocations: 1.077 MB / 453.4 MB, free: 2.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/0.1377, allocations: 1.276 MB / 454.7 MB, free: 1.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005562/0.1382, allocations: 398.3 kB / 455 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.1388, allocations: 0.5329 MB / 455.6 MB, free: 184 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.491e-05/0.1389, allocations: 48 kB / 455.6 MB, free: 136 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.217/0.3559, allocations: 217.1 kB / 455.8 MB, free: 37.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.3563, allocations: 196.7 kB / 456 MB, free: 37.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004312/0.3567, allocations: 212.7 kB / 456.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.3579, allocations: 1.109 MB / 457.3 MB, free: 37.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.3579, allocations: 0 / 457.3 MB, free: 37.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.358, allocations: 1.844 kB / 457.3 MB, free: 37.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.358, allocations: 2.812 kB / 457.3 MB, free: 37.51 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.003029/0.361, allocations: 1.495 MB / 458.8 MB, free: 36.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3611, allocations: 8.125 kB / 458.9 MB, free: 36.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001997/0.3613, allocations: 188.3 kB / 459 MB, free: 36.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009011/0.3703, allocations: 1.441 MB / 460.5 MB, free: 36.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.3714, allocations: 0.5244 MB / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.047e-05/0.3715, allocations: 94.14 kB / 461.1 MB, free: 36.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.3717, allocations: 128 kB / 461.2 MB, free: 36.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.3737, allocations: 1.176 MB / 462.4 MB, free: 36.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/0.3737, allocations: 12.84 kB / 462.4 MB, free: 36.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.3738, allocations: 49.06 kB / 462.5 MB, free: 36.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.3739, allocations: 29.19 kB / 462.5 MB, free: 36.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.3761, allocations: 1.434 MB / 463.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006432/0.3825, allocations: 4.865 MB / 468.8 MB, free: 34.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.3841, allocations: 1.195 MB / 470 MB, free: 34.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004826/0.3846, allocations: 373.2 kB / 470.3 MB, free: 34.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.02e-05/0.3847, allocations: 103.8 kB / 470.4 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.3847, allocations: 42.03 kB / 470.5 MB, free: 33.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.585e-06/0.3847, allocations: 0 / 470.5 MB, free: 33.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.00185/0.3866, allocations: 1.209 MB / 471.7 MB, free: 33.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.3866, allocations: 64.66 kB / 471.8 MB, free: 33.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007744/0.3874, allocations: 0.7976 MB / 472.6 MB, free: 33.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.3874, allocations: 39.3 kB / 472.6 MB, free: 33.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.3877, allocations: 485.8 kB / 473.1 MB, free: 33.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.3879, allocations: 311.1 kB / 473.4 MB, free: 32.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.3879, allocations: 23.41 kB / 473.4 MB, free: 32.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.388, allocations: 394.1 kB / 473.8 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.3886, allocations: 347 kB / 474.1 MB, free: 32.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.3892, allocations: 0.6093 MB / 474.7 MB, free: 32.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006053/0.3898, allocations: 427.8 kB / 475.1 MB, free: 32.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3898, allocations: 0 / 475.1 MB, free: 32.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001706/0.3915, allocations: 1.179 MB / 476.3 MB, free: 32.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3915, allocations: 10.62 kB / 476.3 MB, free: 32.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.3916, allocations: 9.688 kB / 476.3 MB, free: 32.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.3918, allocations: 63.2 kB / 476.4 MB, free: 32.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008518/0.3927, allocations: 261.7 kB / 476.7 MB, free: 32.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.3941, allocations: 2.633 MB / 479.3 MB, free: 29.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007458/0.3949, allocations: 158.9 kB / 479.4 MB, free: 29.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/0.3949, allocations: 56.16 kB / 479.5 MB, free: 29.55 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.0003724/0.3953, allocations: 250.5 kB / 479.7 MB, free: 29.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3954, allocations: 86.25 kB / 479.8 MB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.397, allocations: 1.117 MB / 480.9 MB, free: 29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3971, allocations: 16.61 kB / 481 MB, free: 28.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3971, allocations: 1.406 kB / 481 MB, free: 28.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3971, allocations: 3.141 kB / 481 MB, free: 28.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/0.4, allocations: 2.735 MB / 483.7 MB, free: 27.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.4001, allocations: 5.906 kB / 483.7 MB, free: 27.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006254/0.4007, allocations: 177.5 kB / 483.9 MB, free: 27.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/0.4009, allocations: 74.69 kB / 484 MB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.4009, allocations: 28.84 kB / 484 MB, free: 27.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.4023, allocations: 2.611 MB / 486.6 MB, free: 24.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.4023, allocations: 13.8 kB / 486.6 MB, free: 24.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.404, allocations: 1.487 MB / 488.1 MB, free: 23.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.4042, allocations: 219.2 kB / 488.3 MB, free: 23.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.4043, allocations: 36.89 kB / 488.3 MB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.4049, allocations: 55.05 kB / 488.4 MB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.405, allocations: 80.06 kB / 488.5 MB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.405, allocations: 31.42 kB / 488.5 MB, free: 23.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005624/0.4056, allocations: 0.5603 MB / 489.1 MB, free: 23.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4056, allocations: 3.031 kB / 489.1 MB, free: 23.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009115/0.4065, allocations: 294.3 kB / 489.4 MB, free: 23.11 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.002292/0.4088, allocations: 2.096 MB / 491.5 MB, free: 21.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.4108, allocations: 1.086 MB / 492.5 MB, free: 21.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.4108, allocations: 1 kB / 492.5 MB, free: 21.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008991/0.4117, allocations: 0.6227 MB / 493.2 MB, free: 20.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008435/0.4126, allocations: 126.7 kB / 493.3 MB, free: 20.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008394/0.421, allocations: 5.603 MB / 498.9 MB, free: 17.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.4215, allocations: 0.996 MB / 499.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006721/0.4222, allocations: 156.1 kB / 0.4883 GB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.4226, allocations: 370.4 kB / 0.4887 GB, free: 16.46 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4226, allocations: 1 kB / 0.4887 GB, free: 16.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.4589, allocations: 17.56 MB / 0.5058 GB, free: 12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.4591, allocations: 235.2 kB / 0.5061 GB, free: 11.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.612, allocations: 0 / 0.5061 GB, free: 11.75 MB / 382.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