Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 208.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.379/1.379, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 47.92 kB / 377.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2368, allocations: 53.36 MB / 431.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.006696/0.2435, allocations: 5.347 MB / 436.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.2462, allocations: 1.517 MB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003392/0.2465, allocations: 19.94 kB / 438 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.2468, allocations: 170.3 kB / 438.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.2473, allocations: 293.2 kB / 438.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.2481, allocations: 419.4 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.2494, allocations: 1.391 MB / 440.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004406/0.2498, allocations: 299.4 kB / 440.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006241/0.2504, allocations: 0.514 MB / 441 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006642/0.2511, allocations: 0.5679 MB / 441.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.2513, allocations: 136 kB / 441.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.2515, allocations: 188 kB / 441.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.2518, allocations: 267.2 kB / 442.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004581/0.2522, allocations: 0.4901 MB / 442.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.2537, allocations: 1.553 MB / 444.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2537, allocations: 0 / 444.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2537, allocations: 3.938 kB / 444.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.2537, allocations: 0 / 444.2 MB, free: 9.395 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002633/0.2563, allocations: 1.33 MB / 445.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2564, allocations: 16.03 kB / 445.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.2565, allocations: 135.6 kB / 445.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.2569, allocations: 132.2 kB / 445.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/0.2577, allocations: 0.5017 MB / 446.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.2577, allocations: 62.38 kB / 446.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.2579, allocations: 88.38 kB / 446.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.2595, allocations: 1.114 MB / 447.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.2595, allocations: 0 / 447.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.642e-05/0.2596, allocations: 36 kB / 447.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.2597, allocations: 20 kB / 447.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.2612, allocations: 0.8511 MB / 448.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005259/0.2665, allocations: 2.885 MB / 451.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.2676, allocations: 0.6262 MB / 452 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000679/0.2683, allocations: 395.2 kB / 452.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.2684, allocations: 8.656 kB / 452.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.2684, allocations: 43.22 kB / 452.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.254e-06/0.2684, allocations: 0 / 452.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004549/0.2729, allocations: 2.205 MB / 454.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.273, allocations: 60.06 kB / 454.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.2737, allocations: 0.6096 MB / 455.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/0.2738, allocations: 45.7 kB / 455.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.2741, allocations: 452.3 kB / 455.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.2743, allocations: 277.7 kB / 456.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.2745, allocations: 146.6 kB / 456.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.2747, allocations: 386.7 kB / 456.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/0.2754, allocations: 325.9 kB / 456.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007498/0.2761, allocations: 472.5 kB / 457.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.2775, allocations: 0.8047 MB / 458.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2775, allocations: 0 / 458.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002242/0.2798, allocations: 1.115 MB / 459.3 MB, free: 9.844 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.2798, allocations: 8 kB / 459.3 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.2798, allocations: 7.938 kB / 459.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/0.2804, allocations: 192.8 kB / 459.5 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009186/0.2813, allocations: 191.8 kB / 459.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003908/0.2852, allocations: 2.756 MB / 462.5 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007526/0.286, allocations: 32.05 kB / 462.5 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-05/0.286, allocations: 35.98 kB / 462.5 MB, free: 6.516 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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 {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003798/0.2864, allocations: 233.7 kB / 462.8 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.2866, allocations: 83.47 kB / 462.8 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.2867, allocations: 91.27 kB / 462.9 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.2867, allocations: 4 kB / 462.9 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.2868, allocations: 4 kB / 462.9 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.2868, allocations: 3.984 kB / 462.9 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009887/0.2878, allocations: 0.7123 MB / 463.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.2878, allocations: 3.938 kB / 463.6 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007429/0.2885, allocations: 151.8 kB / 463.8 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000534/0.289, allocations: 183.8 kB / 464 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.2891, allocations: 23.98 kB / 464 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003624/0.2927, allocations: 2.751 MB / 466.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2927, allocations: 0 / 466.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.2953, allocations: 1.435 MB / 468.2 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.2955, allocations: 75.5 kB / 468.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.2956, allocations: 16 kB / 468.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/0.2962, allocations: 51.95 kB / 468.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.2963, allocations: 56.55 kB / 468.4 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/0.2964, allocations: 23.98 kB / 468.4 MB, free: 456 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000484/0.2968, allocations: 423.1 kB / 468.8 MB, free: 36 kB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2968, allocations: 192 / 468.8 MB, free: 36 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007803/0.2976, allocations: 247.9 kB / 469.1 MB, free: 15.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * 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 (56): * Single equations (assignments): 55 * 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 {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002889/0.3005, allocations: 2.004 MB / 471.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.3027, allocations: 0.9901 MB / 472.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3027, allocations: 0 / 472.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.304, allocations: 0.6158 MB / 472.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/0.3047, allocations: 152.3 kB / 472.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.3161, allocations: 7.455 MB / 480.3 MB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.3165, allocations: 391.2 kB / 480.7 MB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003833/0.3169, allocations: 97.44 kB / 480.8 MB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/0.3173, allocations: 319.3 kB / 481.1 MB, free: 3.477 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3173, allocations: 0 / 481.1 MB, free: 3.477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05662/0.3739, allocations: 20.9 MB / 0.4902 GB, free: 14.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.78, allocations: 3.562 kB / 0.4902 GB, free: 14.93 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier_fmu --startTime=0 --stopTime=1e-08 --stepSize=1.9988e-12 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.030260469997302] Failed to read output from testmodel.py, exit status != 0: ['time', 'C1.v', 'C2.v', 'C3.v', 'C4.v', 'C5.v', 'Transistor1.Tr.C.v', 'Transistor1.ct.v', 'Transistor2.Tr.C.v', 'Transistor2.ct.v'] 11.89288241500617 11.908236992 11.651537419 Calling exit ...