Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.001954/0.001954, allocations: 120.1 kB / 18.49 MB, free: 4.566 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.002205/0.002205, allocations: 218.2 kB / 21.46 MB, free: 1.613 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.443/1.443, allocations: 230.4 MB / 254.7 MB, free: 15.17 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.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.91 kB / 373.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1084, allocations: 53.37 MB / 427.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004278/0.1127, allocations: 2.654 MB / 429.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1143, allocations: 0.67 MB / 430.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.1147, allocations: 7.938 kB / 430.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.1149, allocations: 39.58 kB / 430.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.1153, allocations: 95.25 kB / 430.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.1156, allocations: 71.91 kB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005086/0.1161, allocations: 318.5 kB / 430.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.1163, allocations: 68.94 kB / 431 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.1165, allocations: 115.6 kB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.1168, allocations: 123.5 kB / 431.2 MB, free: 420 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.347e-05/0.1168, allocations: 28 kB / 431.3 MB, free: 392 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.515e-05/0.1169, allocations: 27.94 kB / 431.3 MB, free: 364 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.498e-05/0.1169, allocations: 59.77 kB / 431.4 MB, free: 304 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.1171, allocations: 135.3 kB / 431.5 MB, free: 168 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.1175, allocations: 302.8 kB / 431.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1175, allocations: 3.938 kB / 431.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1175, allocations: 0 / 431.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1175, allocations: 0 / 431.8 MB, free: 15.86 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001042/0.1186, allocations: 0.5573 MB / 432.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1186, allocations: 12.03 kB / 432.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.177e-05/0.1186, allocations: 4.75 kB / 432.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.823e-05/0.1187, allocations: 54.73 kB / 432.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.29e-05/0.1188, allocations: 28.8 kB / 432.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.1192, allocations: 267.8 kB / 432.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.1193, allocations: 20.94 kB / 432.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.1193, allocations: 24.38 kB / 432.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.1197, allocations: 224.8 kB / 433 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1197, allocations: 0 / 433 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.1198, allocations: 12 kB / 433 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.1198, allocations: 4 kB / 433 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.1201, allocations: 166.2 kB / 433.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.1219, allocations: 0.9203 MB / 434.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.1225, allocations: 194.5 kB / 434.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.1227, allocations: 108.8 kB / 434.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.1228, allocations: 4 kB / 434.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1228, allocations: 30.56 kB / 434.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.1228, allocations: 4 kB / 434.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007405/0.1236, allocations: 318.5 kB / 434.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1236, allocations: 55.41 kB / 434.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.1239, allocations: 219.1 kB / 435 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.1239, allocations: 29.7 kB / 435 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.124, allocations: 176.2 kB / 435.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.254e-05/0.1241, allocations: 63.44 kB / 435.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.557e-05/0.1242, allocations: 49.7 kB / 435.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1243, allocations: 334.8 kB / 435.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.1245, allocations: 63.92 kB / 435.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.1246, allocations: 114 kB / 435.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.1249, allocations: 169.8 kB / 436 MB, free: 11.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1249, allocations: 7.938 kB / 436 MB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004466/0.1253, allocations: 245.9 kB / 436.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.1254, allocations: 11.98 kB / 436.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1254, allocations: 0 / 436.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.1256, allocations: 24.84 kB / 436.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.1258, allocations: 56.05 kB / 436.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.1273, allocations: 1.415 MB / 437.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.1274, allocations: 31.84 kB / 437.7 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.1275, allocations: 11.98 kB / 437.8 MB, free: 9.434 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.1276, allocations: 141.7 kB / 437.9 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.1277, allocations: 23.86 kB / 437.9 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.1277, allocations: 21.88 kB / 437.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1277, allocations: 4 kB / 437.9 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1278, allocations: 3.984 kB / 437.9 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1278, allocations: 4 kB / 438 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000888/0.1286, allocations: 0.5703 MB / 438.5 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1286, allocations: 0 / 438.5 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.1288, allocations: 39.91 kB / 438.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.13e-05/0.1289, allocations: 24.84 kB / 438.6 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1289, allocations: 7.938 kB / 438.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.1302, allocations: 1.415 MB / 440 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1302, allocations: 4.062 kB / 440 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005308/0.1308, allocations: 354.7 kB / 440.4 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.1309, allocations: 96.91 kB / 440.5 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.131, allocations: 8 kB / 440.5 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.1312, allocations: 23.98 kB / 440.5 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.1312, allocations: 11.98 kB / 440.5 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1313, allocations: 11.98 kB / 440.5 MB, free: 6.422 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.1314, allocations: 160.6 kB / 440.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1314, allocations: 0 / 440.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003696/0.1318, allocations: 67.89 kB / 440.7 MB, free: 6.199 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (opAmp.v_int,c.v) * Number of discrete variables: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009363/0.1327, allocations: 0.8876 MB / 441.6 MB, free: 5.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005291/0.1333, allocations: 250.5 kB / 441.9 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.1333, allocations: 4.438 kB / 441.9 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.1335, allocations: 182.6 kB / 442 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.134, allocations: 35.98 kB / 442.1 MB, free: 4.797 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.1379, allocations: 2.595 MB / 444.7 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.1384, allocations: 0.7481 MB / 445.4 MB, free: 1.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.1385, allocations: 25.92 kB / 445.4 MB, free: 1.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.1387, allocations: 75.41 kB / 445.5 MB, free: 1.195 MB / 366.1 MB Notification: Performance of SimCode: time 1.323e-06/0.1387, allocations: 0 / 445.5 MB, free: 1.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2215/0.3601, allocations: 5.08 MB / 450.6 MB, free: 24.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.63, allocations: 6.688 kB / 450.6 MB, free: 24.29 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.037497449025977] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp.out.v', 'opAmp.out.i'] 10.765461153991055 10.776647745 10.656744713 Calling exit ...