Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.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) 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(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009565/0.0009566, allocations: 98.75 kB / 17 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008807/0.0008808, allocations: 201.3 kB / 17.91 MB, free: 5.621 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.3 MB / 246 MB, free: 11.9 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003246, allocations: 8 kB / 306.8 MB, free: 1.484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 51.5 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01617/0.1563, allocations: 9.93 MB / 368.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00771/0.164, allocations: 3.362 MB / 371.6 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.1658, allocations: 39.88 kB / 371.6 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.1671, allocations: 0.5715 MB / 372.2 MB, free: 36 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.196/0.3632, allocations: 0.8076 MB / 373 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.3653, allocations: 0.5681 MB / 373.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005808/0.3711, allocations: 3.068 MB / 376.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.3725, allocations: 0.6964 MB / 377.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.3749, allocations: 1.033 MB / 378.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00284/0.3778, allocations: 1.282 MB / 379.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005817/0.3784, allocations: 143 kB / 379.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009292/0.3793, allocations: 174.8 kB / 380 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005184/0.3799, allocations: 0.4945 MB / 380.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007508/0.3806, allocations: 0.5254 MB / 381 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003608/0.3842, allocations: 3.427 MB / 384.4 MB, free: 7.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3843, allocations: 0 / 384.4 MB, free: 7.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3843, allocations: 0 / 384.4 MB, free: 7.359 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001041/0.3844, allocations: 0 / 384.4 MB, free: 7.359 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.007011/0.3914, allocations: 2.821 MB / 387.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3915, allocations: 14.27 kB / 387.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000624/0.3921, allocations: 287.1 kB / 387.5 MB, free: 5.559 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.3933, allocations: 343.6 kB / 387.9 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/0.3961, allocations: 1.369 MB / 389.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.3962, allocations: 153.5 kB / 389.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003258/0.3966, allocations: 210.9 kB / 389.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004297/0.4009, allocations: 1.916 MB / 391.5 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.222e-05/0.4009, allocations: 2.281 kB / 391.5 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.4011, allocations: 81.75 kB / 391.6 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/0.4012, allocations: 49.88 kB / 391.7 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004063/0.4052, allocations: 1.984 MB / 393.6 MB, free: 3.562 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/0.418, allocations: 7.564 MB / 401.2 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/0.4216, allocations: 2.299 MB / 403.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.4243, allocations: 1.383 MB / 404.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.4244, allocations: 42.53 kB / 404.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.4245, allocations: 56.56 kB / 405 MB, free: 11.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 4.148e-06/0.4245, allocations: 6.188 kB / 405 MB, free: 11.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.05959/0.4841, allocations: 17.93 MB / 422.9 MB, free: 9.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.4842, allocations: 86.17 kB / 423 MB, free: 8.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.4874, allocations: 1.947 MB / 424.9 MB, free: 7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004867/0.4879, allocations: 85.7 kB / 425 MB, free: 6.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008411/0.4887, allocations: 1.017 MB / 426 MB, free: 5.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001315/0.49, allocations: 1.16 MB / 427.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.4902, allocations: 64 kB / 427.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002683/0.4905, allocations: 420.7 kB / 427.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/0.4932, allocations: 1.244 MB / 428.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002772/0.496, allocations: 1.56 MB / 430.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002808/0.4988, allocations: 1.416 MB / 431.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.4988, allocations: 4 kB / 431.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01022/0.5091, allocations: 4.506 MB / 436.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.5091, allocations: 8 kB / 436.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.5092, allocations: 9.922 kB / 436.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005065/0.5143, allocations: 1.353 MB / 437.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.5171, allocations: 0.5383 MB / 438.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02603/0.5432, allocations: 18.91 MB / 457.2 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/0.5459, allocations: 124 kB / 457.3 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/0.5463, allocations: 107.9 kB / 457.5 MB, free: 5.422 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 291 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 5} * Non-linear torn systems: 2 {3 50,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.001534/0.5478, allocations: 0.5984 MB / 458.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005269/0.5483, allocations: 264.7 kB / 458.3 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.5588, allocations: 4.455 MB / 462.8 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-05/0.5589, allocations: 32 kB / 462.8 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.5589, allocations: 4 kB / 462.8 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.758e-05/0.559, allocations: 18.52 kB / 462.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/0.5762, allocations: 8.517 MB / 471.3 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/0.5763, allocations: 4 kB / 471.3 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002408/0.5787, allocations: 475.6 kB / 471.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004928/0.5837, allocations: 1.267 MB / 473.1 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004209/0.5841, allocations: 71.97 kB / 473.1 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02319/0.6073, allocations: 17.55 MB / 490.7 MB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6073, allocations: 4 kB / 490.7 MB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/0.6208, allocations: 6.173 MB / 496.9 MB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/0.6226, allocations: 0.6303 MB / 497.5 MB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005317/0.6232, allocations: 63.95 kB / 497.6 MB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/0.625, allocations: 127.9 kB / 497.7 MB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006581/0.6256, allocations: 258.8 kB / 497.9 MB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/0.6258, allocations: 83.98 kB / 498 MB, free: 11.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002294/0.6281, allocations: 1.351 MB / 499.4 MB, free: 10.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6281, allocations: 4 kB / 499.4 MB, free: 10.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003488/0.6316, allocations: 0.875 MB / 0.4885 GB, free: 9.336 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 5} * Non-linear torn systems: 2 {3 41,3 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.01415/0.6458, allocations: 7.082 MB / 0.4954 GB, free: 2.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008015/0.6539, allocations: 4.491 MB / 0.4998 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.6539, allocations: 320 / 0.4998 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0049/0.6588, allocations: 2.986 MB / 0.5027 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.661, allocations: 373.3 kB / 0.5031 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04291/0.7039, allocations: 19.47 MB / 0.5221 GB, free: 5.578 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/0.7058, allocations: 1.735 MB / 0.5238 GB, free: 3.809 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002145/0.708, allocations: 300.4 kB / 0.5241 GB, free: 3.512 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/0.7097, allocations: 1.081 MB / 0.5252 GB, free: 2.43 MB / 446.1 MB Notification: Performance of SimCode: time 5.92e-07/0.7097, allocations: 0 / 0.5252 GB, free: 2.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3201/1.03, allocations: 71.04 MB / 0.5945 GB, free: 95.15 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/1.03, allocations: 284 kB / 0.5948 GB, free: 94.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.299/6.329, allocations: 0 / 0.5948 GB, free: 94.8 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat does not exist to compare? outputFormat=mat