Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 108.6 kB / 21.22 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 187.7 kB / 24.5 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 43.92 kB / 371.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2459, allocations: 52.19 MB / 423.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005873/0.2518, allocations: 4.488 MB / 427.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.2542, allocations: 1.223 MB / 429.2 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.2544, allocations: 11.94 kB / 429.2 MB, free: 8.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.2548, allocations: 142.8 kB / 429.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.2552, allocations: 206.3 kB / 429.5 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.2557, allocations: 199.6 kB / 429.7 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008424/0.2565, allocations: 0.7591 MB / 430.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.2569, allocations: 191.1 kB / 430.7 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.2573, allocations: 298.9 kB / 430.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.2577, allocations: 326.5 kB / 431.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.503e-05/0.2578, allocations: 64 kB / 431.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.2579, allocations: 68 kB / 431.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.2581, allocations: 147.4 kB / 431.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000335/0.2584, allocations: 342.3 kB / 431.9 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008184/0.2592, allocations: 0.7473 MB / 432.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2592, allocations: 0 / 432.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2592, allocations: 0 / 432.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.2592, allocations: 4 kB / 432.6 MB, free: 5.406 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001856/0.2611, allocations: 0.9422 MB / 433.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2611, allocations: 8.031 kB / 433.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.908e-05/0.2612, allocations: 21.44 kB / 433.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.2613, allocations: 98.69 kB / 433.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.2614, allocations: 80.47 kB / 433.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.2619, allocations: 348.3 kB / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.262, allocations: 49.67 kB / 434.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.553e-05/0.2621, allocations: 51.94 kB / 434.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009853/0.263, allocations: 0.5496 MB / 434.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.2631, allocations: 3.953 kB / 434.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.012e-05/0.2631, allocations: 24 kB / 434.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.2631, allocations: 12 kB / 434.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008788/0.264, allocations: 429 kB / 435.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.267, allocations: 1.743 MB / 437 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/0.2677, allocations: 357.6 kB / 437.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.2688, allocations: 428.3 kB / 437.7 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.2688, allocations: 4.328 kB / 437.7 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005835/0.2694, allocations: 294.4 kB / 438 MB, free: 15.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.864e-06/0.2694, allocations: 0 / 438 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003688/0.2731, allocations: 1.11 MB / 439.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001874/0.2733, allocations: 239.3 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.2739, allocations: 433.8 kB / 439.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.2739, allocations: 41.64 kB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.2742, allocations: 308.8 kB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.2743, allocations: 146.8 kB / 440.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.2745, allocations: 98.14 kB / 440.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.2746, allocations: 354.8 kB / 440.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.275, allocations: 148.9 kB / 440.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.2755, allocations: 317 kB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008041/0.2763, allocations: 447.2 kB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2763, allocations: 0 / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001802/0.2781, allocations: 0.7441 MB / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.2781, allocations: 11.94 kB / 442.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.2781, allocations: 4 kB / 442.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006686/0.2788, allocations: 188.1 kB / 442.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.2791, allocations: 79.89 kB / 442.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004418/0.2836, allocations: 2.704 MB / 445.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.2841, allocations: 75.64 kB / 445.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.2841, allocations: 23.94 kB / 445.4 MB, free: 8.035 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002834/0.2844, allocations: 189.7 kB / 445.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.2845, allocations: 51.67 kB / 445.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.2846, allocations: 56.81 kB / 445.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2846, allocations: 4 kB / 445.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.2846, allocations: 0 / 445.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.2846, allocations: 3.984 kB / 445.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.2869, allocations: 1.222 MB / 447 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2869, allocations: 0 / 447 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.2872, allocations: 47.97 kB / 447 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000543/0.2877, allocations: 188.6 kB / 447.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.2877, allocations: 12 kB / 447.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004048/0.2918, allocations: 2.664 MB / 449.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2918, allocations: 0 / 449.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.2938, allocations: 0.9143 MB / 450.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2939, allocations: 47.64 kB / 450.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.549e-05/0.294, allocations: 12 kB / 450.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.2943, allocations: 39.91 kB / 450.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.2944, allocations: 32 kB / 450.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.2944, allocations: 16 kB / 450.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003668/0.2948, allocations: 299.1 kB / 451.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2948, allocations: 0 / 451.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006463/0.2955, allocations: 179.7 kB / 451.4 MB, free: 1.887 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002331/0.2978, allocations: 1.466 MB / 452.9 MB, free: 396 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.299, allocations: 0.5651 MB / 453.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.299, allocations: 4.062 kB / 453.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006707/0.2997, allocations: 370.5 kB / 453.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.3002, allocations: 84.69 kB / 453.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007882/0.3081, allocations: 4.851 MB / 458.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.3086, allocations: 0.8594 MB / 459.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.3088, allocations: 52.45 kB / 459.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.309, allocations: 175.4 kB / 459.8 MB, free: 9.211 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.309, allocations: 0 / 459.8 MB, free: 9.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04007/0.3491, allocations: 12.45 MB / 472.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.03, allocations: 15.25 kB / 472.3 MB, free: 12.98 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.444560241012368] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 13.205631547956727 13.232032834 12.967908792 Calling exit ...