Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 209.4 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 64.12 kB / 378.5 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.244, allocations: 53.41 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003711/0.2477, allocations: 2.27 MB / 434.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.249, allocations: 0.705 MB / 434.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.2491, allocations: 7.938 kB / 434.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.2492, allocations: 31.64 kB / 434.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.2493, allocations: 55.52 kB / 435 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.2497, allocations: 103.8 kB / 435.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.25, allocations: 271 kB / 435.3 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.2502, allocations: 75.56 kB / 435.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.2504, allocations: 127.6 kB / 435.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.2506, allocations: 111.5 kB / 435.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.2507, allocations: 24 kB / 435.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.926e-05/0.2507, allocations: 31.98 kB / 435.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.384e-05/0.2508, allocations: 59.77 kB / 435.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.2509, allocations: 95.59 kB / 435.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.2513, allocations: 290.8 kB / 436.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2513, allocations: 0 / 436.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2513, allocations: 0 / 436.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2513, allocations: 3.938 kB / 436.2 MB, free: 2.191 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001142/0.2525, allocations: 0.6001 MB / 436.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2525, allocations: 12.03 kB / 436.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.141e-05/0.2525, allocations: 7.969 kB / 436.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.975e-05/0.2526, allocations: 58.73 kB / 436.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.2528, allocations: 40.73 kB / 436.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.2532, allocations: 178.9 kB / 437 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.2533, allocations: 79.95 kB / 437.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.2533, allocations: 20.12 kB / 437.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.2541, allocations: 357.2 kB / 437.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2541, allocations: 3.938 kB / 437.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.2541, allocations: 12 kB / 437.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2541, allocations: 4 kB / 437.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.2547, allocations: 271.7 kB / 437.8 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.2561, allocations: 0.6813 MB / 438.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.2568, allocations: 326 kB / 438.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/0.2572, allocations: 256.4 kB / 439 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.2572, allocations: 8 kB / 439 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005807/0.2578, allocations: 417.3 kB / 439.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.744e-06/0.2578, allocations: 0 / 439.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001408/0.2592, allocations: 0.7308 MB / 440.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.2594, allocations: 199.9 kB / 440.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.2596, allocations: 190.7 kB / 440.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.2596, allocations: 33.7 kB / 440.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2597, allocations: 144.8 kB / 440.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.339e-05/0.2598, allocations: 79.38 kB / 440.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.2599, allocations: 70.02 kB / 440.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2601, allocations: 334.8 kB / 441.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.2604, allocations: 205.7 kB / 441.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.2607, allocations: 290.1 kB / 441.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/0.2613, allocations: 425.3 kB / 442.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2613, allocations: 0 / 442.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007938/0.2621, allocations: 0.5342 MB / 442.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.066e-05/0.2622, allocations: 97.03 kB / 442.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2622, allocations: 4.094 kB / 442.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2622, allocations: 4 kB / 442.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.2624, allocations: 39.92 kB / 442.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2624, allocations: 0 / 442.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.2626, allocations: 39.77 kB / 442.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.2626, allocations: 12.19 kB / 442.8 MB, free: 10.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002438/0.2628, allocations: 243.8 kB / 443.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.2629, allocations: 31.73 kB / 443.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.2629, allocations: 26.64 kB / 443.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.263, allocations: 4 kB / 443.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.263, allocations: 0 / 443.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.263, allocations: 0 / 443.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.2644, allocations: 0.9382 MB / 444.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2644, allocations: 0 / 444.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.2646, allocations: 27.92 kB / 444.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2646, allocations: 3.984 kB / 444.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.2646, allocations: 15.98 kB / 444.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.2646, allocations: 4 kB / 444.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2646, allocations: 0 / 444.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.2656, allocations: 0.6872 MB / 444.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.2657, allocations: 23.8 kB / 444.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.401e-05/0.2657, allocations: 15.98 kB / 444.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.266, allocations: 19.98 kB / 444.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.543e-05/0.2661, allocations: 27.89 kB / 444.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.2661, allocations: 16 kB / 444.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.2662, allocations: 135.2 kB / 445 MB, free: 8.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2662, allocations: 4 kB / 445 MB, free: 8.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000339/0.2665, allocations: 67.94 kB / 445.1 MB, free: 8.523 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001387/0.2679, allocations: 1.249 MB / 446.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009541/0.2689, allocations: 0.6566 MB / 447 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2689, allocations: 4.188 kB / 447 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.2694, allocations: 370 kB / 447.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/0.2701, allocations: 149.5 kB / 447.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.2744, allocations: 3.362 MB / 450.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.2745, allocations: 137.6 kB / 451 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.2747, allocations: 53.89 kB / 451.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.2748, allocations: 67.41 kB / 451.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2748, allocations: 0 / 451.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.3033, allocations: 7.276 MB / 458.4 MB, free: 11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.75, allocations: 4.047 kB / 458.4 MB, free: 10.99 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.10453716199845] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 11.911480378941633 11.934989009 11.680245595 Calling exit ...